Révision 59ae487e
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/ldap/ldap_authorization/LdapAuthorizationConsumerAbstract.class.php | ||
---|---|---|
341 | 341 |
$log .= "revoking existing consumer object, "; |
342 | 342 |
if ($user_has_authorization) { |
343 | 343 |
// revoke case 1: user has authorization, revoke it. revokeSingleAuthorization will remove $user_auth_data[$consumer_id] |
344 |
//debug("op=revoke, consumer_id=$consumer_id, calling revokeSingleAuthorization"); |
|
345 | 344 |
$results[$consumer_id] = $this->revokeSingleAuthorization($user, $consumer_id, $consumer, $user_auth_data, $user_save); // defer to default for $user_save param |
346 | 345 |
$log .= t(',result=') . (boolean)($results[$consumer_id]); |
347 | 346 |
} |
... | ... | |
364 | 363 |
} |
365 | 364 |
$watchdog_tokens['%consumer_ids_log'] = (count($consumer_ids_log)) ? join('<hr/>', $consumer_ids_log) : t('no actions'); |
366 | 365 |
|
367 |
// debug("user->data and user_auth_data"); debug($user->data); debug($user_auth_data); |
|
368 | 366 |
if ($user_save) { |
369 | 367 |
$user = user_load($user->uid, TRUE); |
370 | 368 |
$user_edit = $user->data; |
Formats disponibles : Unified diff
Weekly update of contrib modules