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
1 changed files with 3 additions and 2 deletions

View File

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