X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fstats.php;h=767db42491315ba8ab15ecc8e631aec5096aff1b;hb=dd4f932d8e4488f98ac541a94d158fbd72a50e3c;hp=aa830a3231b5e5096fc621fa3247265a20a2964c;hpb=c4f03937349bddfad25990239a825f8161615260;p=platal.git diff --git a/modules/stats.php b/modules/stats.php index aa830a3..767db42 100644 --- a/modules/stats.php +++ b/modules/stats.php @@ -36,11 +36,11 @@ class StatsModule extends PLModule function handlers() { return array( - 'stats' => $this->make_hook('stats', AUTH_COOKIE), - 'stats/evolution' => $this->make_hook('evolution', AUTH_COOKIE), - 'stats/graph' => $this->make_hook('graph', AUTH_COOKIE), - 'stats/graph/evolution' => $this->make_hook('graph_evo', AUTH_COOKIE), - 'stats/promos' => $this->make_hook('promos', AUTH_COOKIE), + 'stats' => $this->make_hook('stats', AUTH_COOKIE, 'user'), + 'stats/evolution' => $this->make_hook('evolution', AUTH_COOKIE, 'user'), + 'stats/graph' => $this->make_hook('graph', AUTH_COOKIE, 'user'), + 'stats/graph/evolution' => $this->make_hook('graph_evo', AUTH_COOKIE, 'user'), + 'stats/promos' => $this->make_hook('promos', AUTH_COOKIE, 'user'), 'stats/coupures' => $this->make_hook('coupures', AUTH_PUBLIC), );