Don't autoflush bookmark

This commit is contained in:
Frederic Guillot 2013-06-15 08:45:43 -04:00
parent 01aaa8f1c1
commit 7ac57db487
1 changed files with 1 additions and 0 deletions

View File

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