remove extra clean action from class api

This commit is contained in:
yggverse 2024-09-12 23:59:47 +03:00
parent e122eec9c1
commit 98437884e1
3 changed files with 2 additions and 15 deletions

View File

@ -309,6 +309,8 @@ void Browser::clean()
DB::SESSION::clean(
db
);
browserMain->tab_close_all();
}
void Browser::save()

View File

@ -45,17 +45,6 @@ Main::Main(
// Actions
/// Session
void Main::clean(
const sqlite3_int64 & APP_BROWSER__SESSION__ID
) {
DB::SESSION::clean(
db,
APP_BROWSER__SESSION__ID
);
mainTab->close_all();
};
int Main::restore(
const sqlite3_int64 & APP_BROWSER__SESSION__ID
) {

View File

@ -98,10 +98,6 @@ namespace app::browser
const sqlite3_int64 & APP_BROWSER__SESSION__ID
); // return sqlite3_finalize status code
void clean(
const sqlite3_int64 & APP_BROWSER__SESSION__ID
);
void save(
const sqlite3_int64 & APP_BROWSER__SESSION__ID
);