From 7ac57db48768b8fd3f26940b83f6c64000d22a28 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 15 Jun 2013 08:45:43 -0400 Subject: [PATCH] Don't autoflush bookmark --- model.php | 1 + 1 file changed, 1 insertion(+) 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' => ''));