Fix System class conflict.
This commit is contained in:
davidcallizaya
2017-08-03 18:44:57 -04:00
parent f0c2511968
commit 81149399da
362 changed files with 1843 additions and 127409 deletions

View File

@@ -280,8 +280,8 @@ try {
$oClass->iPMVersion = 0;
}
if ($oClass->iPMVersion > 0) {
if (System::getVersion() > 0) {
if ($oClass->iPMVersion > System::getVersion()) {
if (PMSystem::getVersion() > 0) {
if ($oClass->iPMVersion > PMSystem::getVersion()) {
//throw new Exception('This plugin needs version ' . $oClass->iPMVersion . ' or higher of ProcessMaker');
}
}