mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix broken Merge::get_app_class(), we need it to autoload the class
This commit is contained in:
parent
460d8cbe0d
commit
40af04e38e
@ -1644,7 +1644,7 @@ abstract class Merge
|
||||
public static function get_app_class($appname)
|
||||
{
|
||||
$classname = "{$appname}_merge";
|
||||
if(class_exists($classname, false) && is_subclass_of($classname, 'EGroupware\\Api\\Storage\\Merge'))
|
||||
if(class_exists($classname) && is_subclass_of($classname, 'EGroupware\\Api\\Storage\\Merge'))
|
||||
{
|
||||
$document_merge = new $classname();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user