mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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)
|
public static function get_app_class($appname)
|
||||||
{
|
{
|
||||||
$classname = "{$appname}_merge";
|
$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();
|
$document_merge = new $classname();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user