]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
Removed many "limit 1" at update and delete queries since they were superflous und...
[friendica.git] / mod / notifications.php
index 9c14737f7ffb3e6c36718ab0370661f7d03b6dc6..c7f8e1bbd912e9cab3e97d9a1db9d87c6ca76aa9 100644 (file)
@@ -233,7 +233,7 @@ function notifications_content(&$a) {
                                `item`.`author-link`, `item`.`author-avatar`, `item`.`created`, `item`.`object` as `object`, 
                                `pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink` 
                                FROM `item` INNER JOIN `item` as `pitem` ON  `pitem`.`id`=`item`.`parent`
-                               WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND `pitem`.`parent` != 0
+                               WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND `pitem`.`parent` != 0 AND
                                 `item`.`deleted` = 0 AND `item`.`uid` = %d AND `item`.`wall` = 0 ORDER BY `item`.`created` DESC" ,
                        intval(local_user())
                );