/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-2014 *
+ * Copyright (c) 2001-2016 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
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;
}
/**