X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=widget.auth.php;h=985ee53ecfcc7a1367426c9002b08d9c89b45c44;hb=refs%2Fheads%2Fmaster;hp=70958626fb7483b5127338deb82b39ccfd53cbc0;hpb=a2f348755ff01970d52d5eae6097480dac00e01e;p=dotclear.git diff --git a/widget.auth.php b/widget.auth.php index 7095862..985ee53 100644 --- a/widget.auth.php +++ b/widget.auth.php @@ -1,10 +1,10 @@ create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget')); } - static public function widget(&$w) { + static public function widget($w) { global $core; $name = @$core->auth->getInfo('user_displayname'); if ($name) {