mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
adapt to AWL function rename get_fields() -> awl_get_fields()
This commit is contained in:
parent
928ec35ae1
commit
0281a8d619
@ -203,7 +203,7 @@ if ( function_exists('awl_set_locale') ) {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$c->code_version = 0;
|
$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
|
$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) ) {
|
if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->version_string, $matches) ) {
|
||||||
$c->code_major = $matches[1];
|
$c->code_major = $matches[1];
|
||||||
|
|||||||
@ -471,7 +471,7 @@ function sync_LDAP_groups(){
|
|||||||
|
|
||||||
if ( sizeof ( $groups_to_create ) ){
|
if ( sizeof ( $groups_to_create ) ){
|
||||||
$c->messages[] = sprintf(i18n('- creating groups : %s'),join(', ',$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 ){
|
foreach ( $groups_to_create as $k => $group ){
|
||||||
$user = (object) array();
|
$user = (object) array();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user