remove order by clause
This commit is contained in:
parent
93d4a16017
commit
41da5af721
@ -3477,7 +3477,7 @@ function item_expire($uid,$days) {
|
|||||||
AND item_thread_top = 1
|
AND item_thread_top = 1
|
||||||
AND resource_type = ''
|
AND resource_type = ''
|
||||||
AND item_starred = 0
|
AND item_starred = 0
|
||||||
$sql_extra $item_normal ORDER BY created ASC LIMIT $expire_limit ",
|
$sql_extra $item_normal LIMIT $expire_limit ",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
db_utcnow(),
|
db_utcnow(),
|
||||||
db_quoteinterval(intval($days).' DAY')
|
db_quoteinterval(intval($days).' DAY')
|
||||||
|
Reference in New Issue
Block a user