HOR-3784
This commit is contained in:
@@ -614,19 +614,22 @@ class WorkspaceTools
|
|||||||
$blackList = unserialize($configData['CFG_VALUE']);
|
$blackList = unserialize($configData['CFG_VALUE']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = $this->getListContentMigrateTable();
|
if (count($blackList) > 0) {
|
||||||
|
//If we have the flag MIGRATED_CONTENT we will check the $blackList
|
||||||
foreach ($content as $className => $fields) {
|
$content = $this->getListContentMigrateTable();
|
||||||
//We check if all the label was migrated from content table
|
foreach ($content as $className => $fields) {
|
||||||
if (!in_array($className, $blackList)) {
|
//We check if all the label was migrated from content table
|
||||||
$executeRegenerateContent = true;
|
if (!in_array($className, $blackList)) {
|
||||||
break;
|
$executeRegenerateContent = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
//If the flag does not exist we will check over the schema
|
||||||
|
//The $lastContentMigrateTable return false if we need to force regenerate content
|
||||||
|
if (!$this->getLastContentMigrateTable()) {
|
||||||
|
$executeRegenerateContent = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//The $lastContentMigrateTable return false if we need to force regenerate content
|
|
||||||
if (!$this->getLastContentMigrateTable()) {
|
|
||||||
$executeRegenerateContent = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user