Port Xnet feed to PlFeed.
[platal.git] / include / notifs.inc.php
index 33ae8eb..d48f010 100644 (file)
@@ -54,7 +54,7 @@ function register_watch_op($uid, $cid, $date='', $info='')
                              WHERE  ni_id={?}', $uid);
         XDB::execute('DELETE FROM watch_nonins WHERE ni_id={?}', $uid);
     }
-    update_NbNotifs();
+    Platal::session()->updateNbNotifs();
 }
 
 // }}}