X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=f881814f377ecc13664987e539642a7e4b4acf38;hb=bc0276a2d79d88a56656514fe24bd427c0ef3b88;hp=cd963045535512e7fb30250111dd01a93b211e4b;hpb=684195f33b11e3067200dd3a9e14304bd7d04463;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index cd96304..f881814 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -1,6 +1,6 @@ token . '/rss.xml'; } function hook_platalMessageLink($params) @@ -306,7 +307,7 @@ class PlatalBananaPage extends BananaPage class BananaHandler { - public function __construct(PlWizard &$wiz) + public function __construct(PlWizard $wiz) { } @@ -315,7 +316,7 @@ class BananaHandler return 'banana/index.tpl'; } - public function prepare(PlPage &$page, $id) + public function prepare(PlPage $page, $id) { } @@ -327,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);