Fixed plugins database upgrade.

This commit is contained in:
Alexandre Rosenfeld
2010-12-17 14:55:05 +00:00
parent a0a53ef23b
commit 5a3de34d3f
2 changed files with 7 additions and 4 deletions

View File

@@ -706,7 +706,10 @@ class System {
* @return $sContent
*/
public static function getPluginSchema($pluginName) {
return System::getSchema(PATH_PLUGINS . $pluginName . "/config/schema.xml");
if (file_exists(PATH_PLUGINS . $pluginName . "/config/schema.xml"))
return System::getSchema(PATH_PLUGINS . $pluginName . "/config/schema.xml");
else
return false;
}
/**