diff --git a/model.php b/model.php index e29b3e1..6a0213c 100644 --- a/model.php +++ b/model.php @@ -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' => ''));