Merge branch '3.0'

This commit is contained in:
Sam Minnee 2012-08-23 12:56:17 +12:00
commit f1c021ff22

View File

@ -208,7 +208,7 @@ class Versioned extends DataExtension {
$tempName = 'ExclusionarySource_'.$excluding; $tempName = 'ExclusionarySource_'.$excluding;
$excludingTable = $baseTable . ($excluding && $excluding != $this->defaultStage ? "_$excluding" : ''); $excludingTable = $baseTable . ($excluding && $excluding != $this->defaultStage ? "_$excluding" : '');
$query->addWhere('"'.$baseTable.'"."ID" NOT IN (SELECT ID FROM "'.$tempName.'")'); $query->addWhere('"'.$baseTable.'"."ID" NOT IN (SELECT "ID" FROM "'.$tempName.'")');
$query->renameTable($tempName, $excludingTable); $query->renameTable($tempName, $excludingTable);
} }
break; break;