Don't autoflush bookmark

This commit is contained in:
Frederic Guillot 2013-06-15 08:45:43 -04:00
parent 01aaa8f1c1
commit 7ac57db487

View File

@ -417,6 +417,7 @@ function autoflush()
\PicoTools\singleton('db') \PicoTools\singleton('db')
->table('items') ->table('items')
->eq('bookmark', 0)
->eq('status', 'read') ->eq('status', 'read')
->lt('updated', strtotime('-'.$autoflush.'day')) ->lt('updated', strtotime('-'.$autoflush.'day'))
->save(array('status' => 'removed', 'content' => '')); ->save(array('status' => 'removed', 'content' => ''));