projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Lighter query to get the number of events displaid on every single
[platal.git]
/
plugins
/
insert.getNbNotifs.php
diff --git
a/plugins/insert.getNbNotifs.php
b/plugins/insert.getNbNotifs.php
index
ad6b8cd
..
3da1aad
100644
(file)
--- a/
plugins/insert.getNbNotifs.php
+++ b/
plugins/insert.getNbNotifs.php
@@
-22,9
+22,9
@@
function smarty_insert_getNbNotifs($params, &$smarty)
{
function smarty_insert_getNbNotifs($params, &$smarty)
{
- if
(S::logged()) {
-
require_once('notifs.inc.php');
-
return getNbNotifs();
+ if(S::logged()) {
+ require_once('notifs.inc.php');
+ return getNbNotifs();
}
}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
}
}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: