[SPIP] v3.0.22-->v3.0.24
[lhc/web/www.git] / www / ecrire / inc / auth.php
index 4f59f2d..c4b6f20 100644 (file)
@@ -325,9 +325,18 @@ function auth_administrer($fonction,$args,$defaut=false){
        if ($auth = charger_fonction($auth_methode,'auth',true)
                AND function_exists($f="auth_{$auth_methode}_$fonction")
        )
-               return call_user_func_array($f, $args);
+               $res = call_user_func_array($f, $args);
        else
-               return $defaut;
+               $res = $defaut;
+       $res = pipeline('auth_administrer',array(
+               'args' => array(
+                       'fonction' => $fonction,
+                       'methode' => $auth_methode,
+                       'args' => $args
+               ),
+               'data' => $res
+       ));
+       return $res;
 }
 
 /**