mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Univention: fix setup configuration does not allow to store Univention as account backend
This commit is contained in:
parent
a89ccaa455
commit
6cdcdf8180
@ -492,7 +492,7 @@ class setup_cmd_config extends setup_cmd
|
||||
foreach(scandir(EGW_INCLUDE_ROOT.'/api/src/Accounts') as $file)
|
||||
{
|
||||
$matches = null;
|
||||
if (preg_match('/^([a-z0-9]+)\.php$/', $file, $matches) &&
|
||||
if (preg_match('/^([a-z0-9]+)\.php$/i', $file, $matches) &&
|
||||
!isset($account_repositories[strtolower($matches[1])]) &&
|
||||
class_exists($class='EGroupware\\Api\\Accounts\\'.$matches[1]) &&
|
||||
(strtolower($matches[1]) == $current || !is_callable($callable=$class.'::available') || call_user_func($callable)))
|
||||
|
Loading…
Reference in New Issue
Block a user