From 48b4e3fb623398524622f38dee851e1fc3c97676 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 25 Feb 2015 16:11:52 -0500 Subject: [PATCH] Also need to diable disk usage in media controller --- .../application/modules/rest/controllers/MediaController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/modules/rest/controllers/MediaController.php b/airtime_mvc/application/modules/rest/controllers/MediaController.php index cbe53ac30..1c18c233d 100644 --- a/airtime_mvc/application/modules/rest/controllers/MediaController.php +++ b/airtime_mvc/application/modules/rest/controllers/MediaController.php @@ -103,12 +103,13 @@ class Rest_MediaController extends Zend_Rest_Controller return; } - if (Application_Model_Systemstatus::isDiskOverQuota()) { + //temporarily disabling disk quota until all file sizes have ben set in the database. + /*if (Application_Model_Systemstatus::isDiskOverQuota()) { $this->getResponse() ->setHttpResponseCode(400) ->appendBody("ERROR: Disk Quota reached."); return; - } + }*/ $file = new CcFiles(); $whiteList = $this->removeBlacklistedFieldsFromRequestData($this->getRequest()->getPost());