X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=5bff44a2217ed5e2816ed0aa03b62dbfda179aea;hb=6e1128e02f7568a692d548d8bc43cad6bde38efe;hp=82334eadeb0dff6f620f874c29cb71fdb7c6e966;hpb=5660032ac785d410f90e3f5b0d6948dc90b0cfea;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index 82334ea..5bff44a 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);