diff options
author | bastei <none> | 2013-09-04 07:09:42 +0200 |
---|---|---|
committer | bastei <none> | 2013-09-04 07:09:42 +0200 |
commit | 2f22e43a91b8dfae6ca8e8b8fa1cf41f08ff7ceb (patch) | |
tree | 165e46acbd7e197dae8c6b7350133b75c6fea7da | |
parent | d7c7c5342df537916e21c5158cfb1d5e2b7d977b (diff) |
fix limit calculation for deleteReadOlderThanThreshold
-rw-r--r-- | db/itemmapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php index 1dd9726e4..e66b8c166 100644 --- a/db/itemmapper.php +++ b/db/itemmapper.php @@ -259,7 +259,7 @@ class ItemMapper extends Mapper implements IMapper { while($row = $result->fetchRow()) { - $limit = $threshold - $row['size']; + $limit = $row['size'] - $threshold; if($limit > 0) { $params = array($status, $row['feed_id']); |