CC-2600 : Upgrading from 1.8->1.9 wipe all shows content

check if there were any files in stor.
This commit is contained in:
Naomi Aro 2011-07-28 15:51:51 +02:00
parent 137ca79db8
commit 1660899096

View file

@ -621,6 +621,8 @@ class Airtime190Upgrade{
exec($command, $output);
print_r($output);
if (isset($output[0])) {
$oldAndNewFileNames = json_decode($output[0]);
$stor_dir_id = $propel_stor_dir->getId();
@ -631,6 +633,7 @@ class Airtime190Upgrade{
echo $sql.PHP_EOL;
Airtime190Upgrade::execSqlQuery($sql);
}
}
echo "Upgrading Linked Files".PHP_EOL;