diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-20 09:57:07 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-20 09:57:07 +0100 |
commit | 624196711242cb5bf398ff2d368e73a10e65b67e (patch) | |
tree | 03f3081e38e2e9b83220c078308f4046406c0af0 /Zotlabs/Module/Hq.php | |
parent | 88d0bf94d89ac739469528bdab7905d0c00cf8a9 (diff) | |
download | volse-hubzilla-624196711242cb5bf398ff2d368e73a10e65b67e.tar.gz volse-hubzilla-624196711242cb5bf398ff2d368e73a10e65b67e.tar.bz2 volse-hubzilla-624196711242cb5bf398ff2d368e73a10e65b67e.zip |
speed up initial query if no mid is provided
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r-- | Zotlabs/Module/Hq.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index 41e9d40ca..ad39768f4 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -46,6 +46,7 @@ class Hq extends \Zotlabs\Web\Controller { $r = q("SELECT mid FROM item WHERE uid = %d + AND item_unseen = 1 AND mid = parent_mid $item_normal ORDER BY id DESC |