adapt to AWL function rename get_fields() -> awl_get_fields()

This commit is contained in:
Florian Schlichting 2016-06-13 21:47:49 +02:00
parent 928ec35ae1
commit 0281a8d619
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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();