aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-20 05:21:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-20 05:21:19 -0700
commit466267fbb5b5cc466196e40b6a8fe96f25c57e2f (patch)
tree8fc00033648bd7716fdeac8eaddca054b2fbf1be /mod/network.php
parentba8da761e669b22e16e1075e0e1e79d8b458af3e (diff)
downloadvolse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.tar.gz
volse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.tar.bz2
volse-hubzilla-466267fbb5b5cc466196e40b6a8fe96f25c57e2f.zip
lotsoflittlestuff
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 51b528832..845a6bb77 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -15,6 +15,11 @@ function network_content(&$a) {
$contact_id = $a->cid;
+ $r = q("UPDATE `item` SET `unseen` = 0
+ WHERE `unseen` = 1 AND `uid` = %d",
+ intval($_SESSION['uid'])
+ );
+
$tpl = file_get_contents('view/jot-header.tpl');