]> git.mxchange.org Git - friendica.git/commitdiff
Mark items read on filtered network page, but still keep the "mark everything read...
authorzottel <github@zottel.net>
Tue, 13 Nov 2012 10:30:43 +0000 (11:30 +0100)
committerzottel <github@zottel.net>
Tue, 13 Nov 2012 10:30:43 +0000 (11:30 +0100)
mod/network.php

index 28893dda7bf0c85d6854ffbfb8ed49bb0547a493..bbdd0130d72bb02f2280b3261f143d988c925fb6 100644 (file)
@@ -782,9 +782,10 @@ function network_content(&$a, $update = 0) {
                        intval(local_user())
                );
        }
-
-//     if($update_unseen)
-//             $r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
+       else {
+               if($update_unseen)
+                       $r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
+       }
 
        // Set this so that the conversation function can find out contact info for our wall-wall items
        $a->page_contact = $a->contact;