CC-5781: Upgrade script for new storage quota implementation
Include propel library
This commit is contained in:
parent
6abe613a73
commit
c1cc3740f3
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once 'propel/runtime/lib/Propel.php';
|
||||||
|
|
||||||
class StorageQuotaUpgrade
|
class StorageQuotaUpgrade
|
||||||
{
|
{
|
||||||
public static function startUpgrade()
|
public static function startUpgrade()
|
||||||
|
@ -20,4 +22,4 @@ class StorageQuotaUpgrade
|
||||||
|
|
||||||
Application_Model_Preference::setDiskUsage($totalSpace - $freeSpace);
|
Application_Model_Preference::setDiskUsage($totalSpace - $freeSpace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue