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
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ function mark_as_removed()
\PicoTools\singleton('db')
->table('items')
->eq('status', 'read')
->eq('bookmark', 0)
->save(array('status' => 'removed', 'content' => ''));
}