projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
classes
/
xorgsession.php
diff --git
a/classes/xorgsession.php
b/classes/xorgsession.php
index
9b98234
..
7789318
100644
(file)
--- a/
classes/xorgsession.php
+++ b/
classes/xorgsession.php
@@
-312,11
+312,7
@@
class XorgSession extends PlSession
{
require_once 'notifs.inc.php';
$user = S::user();
{
require_once 'notifs.inc.php';
$user = S::user();
- $date = null;
- if (S::has('watch_last')) {
- $date = S::i('watch_last');
- }
- $n = Watch::getCount($user, $date);
+ $n = Watch::getCount($user);
S::set('notifs', $n);
}
S::set('notifs', $n);
}