X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fsynchro_ax.inc.php;h=d0be5484b42e758a79a3a2e56b5e0097d9b8b455;hb=fe136252bc2722c0df328d889728008c473a0eb2;hp=b0b5b2f43b1b44fb75bee2dcb91bfa8870dedf0a;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/include/synchro_ax.inc.php b/include/synchro_ax.inc.php index b0b5b2f..d0be548 100644 --- a/include/synchro_ax.inc.php +++ b/include/synchro_ax.inc.php @@ -24,12 +24,15 @@ require_once("xorg.inc.php"); require_once('user.func.inc.php'); +function is_ax_key_missing() { + global $globals; + return !isset($globals->webservice->private_key_ax) || !is_file($globals->webservice->private_key_ax); +} + function get_user_ax($matricule_ax, $raw=false) { require_once('webservices/ax/client.inc'); - global $globals; - $ancien = recupere_infos_ancien($matricule_ax); $userax = Array();