Projet

Général

Profil

Révision bc175c27

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_query/ldap_query.admin.inc
28 28
function ldap_query_list($qid = NULL, $actions = FALSE) {
29 29

  
30 30
  $ldap_queries = ldap_query_get_queries($qid, 'all');
31
  $variables =  array(
31
  $variables = array(
32 32
    'ldap_queries' => $ldap_queries,
33 33
    'action' => TRUE,
34 34
    'type' => 'table',
......
165 165
    if ($result = $ldap_query->delete($qid)) {
166 166
      $tokens = array('%name' => $ldap_query->name, '!qid' => $qid);
167 167
      drupal_set_message(t('LDAP Server %name (query id = !qid) has been deleted.', $tokens), 'status');
168
      watchdog('ldap', 'LDAP Query deleted: %name (qid = !qid) ', $tokens);
168
      watchdog('ldap_query', 'LDAP Query deleted: %name (qid = !qid) ', $tokens);
169 169
    }
170 170
    else {
171 171
      drupal_set_message(t('LDAP Query delete failed.'), 'warning');
......
214 214
    );
215 215
    return confirm_form(
216 216
      $form,
217
      t('Are you sure you want to') . t($action) . ' ' . t('the LDAP query named <em><strong>%name</strong></em>?', array('%name' =>  $ldap_query->name)),
217
      t('Are you sure you want to') . t($action) . ' ' . t('the LDAP query named <em><strong>%name</strong></em>?', array('%name' => $ldap_query->name)),
218 218
      LDAP_QUERY_MENU_BASE_PATH . '/query/list',
219 219
      t('<p></p>'),
220 220
      t($action),
......
241 241
    $tokens = array('%name' => $values['name'], '!qid' => $qid, '!action' => t($values['action']) . 'd');
242 242
    drupal_set_message(t('LDAP Query Configuration %name (query id = !qid) has been !action.', $tokens));
243 243
    $message = t('LDAP Query !action: %name (qid = !qid) ', $tokens);
244
    watchdog('ldap', $message);
244
    watchdog('ldap_query', $message);
245 245

  
246 246
  }
247 247

  

Formats disponibles : Unified diff