mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
cleanup extras
This commit is contained in:
parent
3dffcb029a
commit
395551e14c
3 changed files with 5 additions and 17 deletions
|
|
@ -253,7 +253,7 @@ impl Tab {
|
|||
pub fn restore(&self, tx: &Transaction, app_browser_window_id: &i64) {
|
||||
match self.database.records(tx, app_browser_window_id) {
|
||||
Ok(records) => {
|
||||
for record in records {
|
||||
for _ in records {
|
||||
// Delegate restore action to childs
|
||||
// nothing yet..
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ impl Database {
|
|||
tx.execute("DELETE FROM `app_browser_window_tab` WHERE `id` = ?", [id])
|
||||
}
|
||||
|
||||
/* not in use
|
||||
pub fn last_insert_id(&self, tx: &Transaction) -> i64 {
|
||||
tx.last_insert_rowid()
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue