Fix bug: flush history must not remove bookmarked items
This commit is contained in:
parent
03bff8699d
commit
6a4c0565a5
@ -405,6 +405,7 @@ function mark_as_removed()
|
|||||||
\PicoTools\singleton('db')
|
\PicoTools\singleton('db')
|
||||||
->table('items')
|
->table('items')
|
||||||
->eq('status', 'read')
|
->eq('status', 'read')
|
||||||
|
->eq('bookmark', 0)
|
||||||
->save(array('status' => 'removed', 'content' => ''));
|
->save(array('status' => 'removed', 'content' => ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user