From: Evan Prodromou Date: Tue, 20 Jan 2009 03:51:03 +0000 (-0500) Subject: Don't override ORDER for inboxes; it messes up caching X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af2fb7dff2c9f94777d9d262f7a6d0427da65217;p=quix0rs-gnu-social.git Don't override ORDER for inboxes; it messes up caching --- diff --git a/classes/User.php b/classes/User.php index 32d5bedde1..5dab5c7017 100644 --- a/classes/User.php +++ b/classes/User.php @@ -385,8 +385,7 @@ class User extends Memcached_DataObject 'SELECT notice.* ' . 'FROM notice JOIN notice_inbox ON notice.id = notice_inbox.notice_id ' . 'WHERE notice_inbox.user_id = %d '; - # NOTE: we override ORDER - $order = 'ORDER BY notice_inbox.created DESC, notice_inbox.notice_id DESC '; + $order = null; } return Notice::getStream(sprintf($qry, $this->id), 'user:notices_with_friends:' . $this->id,