Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[platal.git] / modules / bandeau.php
index 50fb51c..4f2682d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2013 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -24,9 +24,9 @@ class BandeauModule extends PLModule
     function handlers()
     {
         return array(
-            'bandeau/icone.png'  => $this->make_hook('icone', AUTH_PUBLIC, 'user', NO_HTTPS),
-            'bandeau'            => $this->make_hook('html',  AUTH_PUBLIC, 'user', NO_HTTPS),
-            'bandeau.css'                               => $this->make_hook('css',   AUTH_PUBLIC, 'user', NO_HTTPS),
+            'bandeau/icone.png' => $this->make_hook('icone', AUTH_PUBLIC, 'user', NO_HTTPS),
+            'bandeau'           => $this->make_hook('html',  AUTH_PUBLIC, 'user', NO_HTTPS),
+            'bandeau.css'       => $this->make_hook('css',   AUTH_PUBLIC, 'user', NO_HTTPS),
         );
     }