Project

General

Profile

Bug #24777 ยป 0017274.patch

Administrator Admin, 2011-01-24 18:37

View differences:

typo3/sysext/install/updates/class.tx_coreupdates_migrateworkspaces.php (Arbeitskopie)
}
/**
* Returns all sys_workspace records which are not referenced by anysys_workspace_stages record
* Returns all sys_workspace records which are not referenced by any sys_workspace_stages record
*
* @return array
*/
protected function getWorkspacesWithoutStages() {
$stages = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('parentid', 'sys_workspace_stages', 'parenttable="sys_workspace"');
$stages = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('parentid', 'sys_workspace_stage', 'parenttable="sys_workspace"');
$wsWhitelist = array();
foreach ($stages as $stage) {
$wsWhitelist[] = $stage['parentid'];
    (1-1/1)