Do not send removed/pruned item(s) to client

This commit is contained in:
Bruce Doan 2015-03-23 14:33:32 +07:00
parent 60aa689e84
commit 5edb1bd64a

View File

@ -137,7 +137,6 @@ route('items', function() {
$query = Database::get('db') $query = Database::get('db')
->table('items') ->table('items')
->limit(50)
->columns( ->columns(
'rowid', 'rowid',
'feed_id', 'feed_id',
@ -148,7 +147,9 @@ route('items', function() {
'updated', 'updated',
'status', 'status',
'bookmark' 'bookmark'
); )
->limit(50)
->neq('status', 'removed');
if (isset($_GET['since_id']) && is_numeric($_GET['since_id'])) { if (isset($_GET['since_id']) && is_numeric($_GET['since_id'])) {