From 70e660e7dae1bac300a228e3b401015811dc33ce Mon Sep 17 00:00:00 2001 From: drigato Date: Mon, 7 Apr 2014 15:26:56 -0400 Subject: [PATCH] CC-5781: Upgrade script for new storage quota implementation --- .../upgrades/airtime-2.5.3/StorageQuotaUpgrade.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php b/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php index 43c2e124c..8574d4bee 100644 --- a/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php +++ b/install_minimal/upgrades/airtime-2.5.3/StorageQuotaUpgrade.php @@ -10,13 +10,19 @@ set_include_path(implode(PATH_SEPARATOR, array( realpath(APPLICATION_PATH . '/../library') ))); +/*set_include_path(implode(PATH_SEPARATOR, array( + get_include_path(), + realpath(APPLICATION_PATH . '/../library/propel/runtime/lib') +)));*/ + //Propel classes. set_include_path(APPLICATION_PATH . '/models' . PATH_SEPARATOR . get_include_path()); set_include_path(APPLICATION_PATH . '/models/airtime' . PATH_SEPARATOR . get_include_path()); set_include_path(APPLICATION_PATH . '/models/om' . PATH_SEPARATOR . get_include_path()); +require_once 'propel/runtime/lib/Propel.php'; require_once 'CcMusicDirsQuery.php'; -require_once 'BaseCcMusicDirsQuery.php'; +#require_once 'BaseCcMusicDirsQuery.php'; class StorageQuotaUpgrade {