BUG 8938 "PM 2.0.39 testing 3 Al instalar la version enterprise 1.4..." SOLVED

- When install the plug-in enterprise-1.4 and upgrade to version enterprise-2.0 generate one "Fatal error"
- Added methods in the core of processmaker
- Added code in the plug-in enterprise-2.0 to uninstall the previous version automatically
This commit is contained in:
Victor Saisa Lopez
2012-04-12 12:17:46 -04:00
parent 543b98f2fe
commit 848f1e1abc

View File

@@ -1182,4 +1182,16 @@ class PMPluginRegistry {
function registerDashboard() {
// Dummy function for backwards compatibility
}
function getAttributes()
{
return get_object_vars($this);
}
function setAttributes($attributes = array())
{
foreach ($attributes as $index => $value) {
eval("\$this->" . $index . " = \$value;");
}
}
}