mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
feature 3076: Enhance plugin update system
git-svn-id: http://piwigo.org/svn/trunk@28651 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -86,19 +86,11 @@ class themes
|
||||
|
||||
if (class_exists($classname))
|
||||
{
|
||||
$theme_maintain = new $classname($theme_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
$theme_maintain = new DummyTheme_maintain($theme_id);
|
||||
return new $classname($theme_id);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$theme_maintain = new DummyTheme_maintain($theme_id);
|
||||
}
|
||||
|
||||
return $theme_maintain;
|
||||
|
||||
return new DummyTheme_maintain($theme_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user