Fix bug: flush history must not remove bookmarked items

This commit is contained in:
Frederic Guillot 2013-07-04 20:41:55 -04:00
parent 03bff8699d
commit 6a4c0565a5

View File

@ -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' => ''));
} }