diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-02-20 10:36:05 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-02-20 10:36:05 +0100 |
commit | 41da5af721824a952abaf67187d81a8ca7154f9f (patch) | |
tree | 32bb6340a172adfbbecc92b7fcd388bac18be4b4 /include | |
parent | 93d4a16017b792570323db31f438a9ee3870378d (diff) | |
download | volse-hubzilla-41da5af721824a952abaf67187d81a8ca7154f9f.tar.gz volse-hubzilla-41da5af721824a952abaf67187d81a8ca7154f9f.tar.bz2 volse-hubzilla-41da5af721824a952abaf67187d81a8ca7154f9f.zip |
remove order by clause
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 04962ec76..68fa4c3b2 100755 --- a/include/items.php +++ b/include/items.php @@ -3477,7 +3477,7 @@ function item_expire($uid,$days) { AND item_thread_top = 1 AND resource_type = '' AND item_starred = 0 - $sql_extra $item_normal ORDER BY created ASC LIMIT $expire_limit ", + $sql_extra $item_normal LIMIT $expire_limit ", intval($uid), db_utcnow(), db_quoteinterval(intval($days).' DAY') |