X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fxnet.php;h=f3da66f9c24e49675bfaf79b6fcc869255a137ab;hb=4c64e1e7926e82b917c4bc7bf47e51475d44d04a;hp=88c600c9a123fde9860b0ff8dde96c5da9e4ad6e;hpb=2b1ee50b0196216dbe4f37e3b039469d6003ca23;p=platal.git diff --git a/classes/xnet.php b/classes/xnet.php index 88c600c..f3da66f 100644 --- a/classes/xnet.php +++ b/classes/xnet.php @@ -47,7 +47,7 @@ class Xnet extends Platal return parent::find_nearest_key($key, $array); } - protected function near_hook() + public function near_hook() { global $globals; $link = str_replace('%grp', $globals->asso('diminutif'), parent::near_hook()); @@ -67,7 +67,7 @@ class Xnet extends Platal return $ans; } - protected function force_login(&$page) + public function force_login(&$page) { http_redirect(S::v('loginX')); }