From 0281a8d61936a7c286e6f3c0f125f66dfc6dce08 Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Mon, 13 Jun 2016 21:47:49 +0200 Subject: [PATCH] adapt to AWL function rename get_fields() -> awl_get_fields() --- htdocs/always.php | 2 +- inc/drivers_ldap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/always.php b/htdocs/always.php index 498592cf..9d9b9b9a 100644 --- a/htdocs/always.php +++ b/htdocs/always.php @@ -203,7 +203,7 @@ if ( function_exists('awl_set_locale') ) { * */ $c->code_version = 0; -$c->want_awl_version = '0.56'; +$c->want_awl_version = '0.57'; $c->version_string = '1.1.4'; // The actual version # is replaced into that during the build /release process if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->version_string, $matches) ) { $c->code_major = $matches[1]; diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 52e37762..463610dc 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -471,7 +471,7 @@ function sync_LDAP_groups(){ if ( sizeof ( $groups_to_create ) ){ $c->messages[] = sprintf(i18n('- creating groups : %s'),join(', ',$groups_to_create)); - $validUserFields = get_fields('usr'); + $validUserFields = awl_get_fields('usr'); foreach ( $groups_to_create as $k => $group ){ $user = (object) array();