Projet

Général

Profil

Révision 32700c57

Ajouté par Assos Assos il y a environ 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_help/ldap_help.watchdog.inc
3 3
/**
4 4
 * @file
5 5
 * The ldap_help watchdog is just a filtered watchdog summary.
6
 *
7 6
 */
8 7

  
8
/**
9
 *
10
 */
9 11
function ldap_help_watchdog() {
10 12

  
11 13
  $path = drupal_get_path("module", "ldap_help");
12 14
  $_content = "";
13 15
  if (module_exists('dblog')) {
14
    include_once(drupal_get_path('module', 'dblog') . '/dblog.admin.inc');
15
    $_SESSION['dblog_overview_filter']['type'] = Array('ldap' => 'ldap');
16
    include_once drupal_get_path('module', 'dblog') . '/dblog.admin.inc';
17
    $_SESSION['dblog_overview_filter']['type'] = ['ldap' => 'ldap'];
16 18
    $_content .= "<h3>" . t('LDAP Watchdog Errors and Notifications') . "</h3>";
17 19
    $overview = dblog_overview();
18 20
    $_content .= render($overview);
......
25 27
    $_content .= l(t('Module enable page'), 'admin/build/modules');
26 28
  }
27 29

  
28

  
29 30
  return $_content;
30 31
}

Formats disponibles : Unified diff