Merged in mcuiza/processmaker/PM-2314,PM-2331 (pull request #1937)

PM-2314,PM-2331 - Enterprise features
This commit is contained in:
Julio Cesar Laura Avendaño
2015-04-17 17:51:01 -04:00
4 changed files with 260 additions and 48 deletions

View File

@@ -919,6 +919,10 @@ class workspaceTools
if (file_exists(PATH_CORE . 'data' . PATH_SEP . 'check.data')) {
$checkData = unserialize(file_get_contents(PATH_CORE . 'data' . PATH_SEP . 'check.data'));
if (is_array($checkData)) {
/*----------------------------------********---------------------------------*/
$licensedFeatures = & PMLicensedFeatures::getSingleton();
$checkData = $licensedFeatures->addNewFeatures($checkData);
/*----------------------------------********---------------------------------*/
foreach ($checkData as $checkThis) {
$this->updateThisRegistry($checkThis);
}