X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=db23f72cc39ae59c6e47c8f13e8676de98ff512e;hb=602119a260d65a6a9d146e01d43bc21358d706d9;hp=9d42694e02a0ff1448e6924d1b126402306a830d;hpb=c3b581dc531c40960509e3115d8c61ebd5897ee3;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index 9d42694..db23f72 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -1,6 +1,6 @@ token . '/rss.xml'; } function hook_platalMessageLink($params) @@ -307,7 +307,7 @@ class PlatalBananaPage extends BananaPage class BananaHandler { - public function __construct(PlWizard &$wiz) + public function __construct(PlWizard $wiz) { } @@ -316,7 +316,7 @@ class BananaHandler return 'banana/index.tpl'; } - public function prepare(PlPage &$page, $id) + public function prepare(PlPage $page, $id) { } @@ -328,7 +328,7 @@ class BananaHandler } } -function run_banana(&$page, $class, array $args) +function run_banana($page, $class, array $args) { $user = S::user(); $banana = new $class($user, $args);