X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=5259177d4923d726d60c86568db3e16a0a2f1fcd;hb=5316f275c197ec7057457131e4aa5e0249c739fc;hp=aa449177ba96a9157e40cda85d5d08938a7ba66a;hpb=2925df1bd6cb08c1f29822019fcb82e59f63f8a3;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index aa44917..5259177 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -76,7 +76,7 @@ function hook_platalRSS($group) } else { $group = ''; } - return '/rss/' . $group . S::v('forlife') . '/' . S::v('core_rss_hash') . '/rss.xml'; + return '/rss/' . $group . S::v('hruid') . '/' . S::v('core_rss_hash') . '/rss.xml'; } function hook_platalMessageLink($params) @@ -322,7 +322,7 @@ class BananaHandler function run_banana(&$page, $class, array $args) { - $banana = new $class(S::v('forlife'), $args); + $banana = new $class(S::user(), $args); $page->assign('banana', $banana->run()); $page->addCssInline($banana->css()); $page->addCssLink('banana.css');