Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas

This commit is contained in:
drigato 2014-04-28 16:25:13 -04:00
commit c3c5720dac
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ class Rest_MediaController extends Zend_Rest_Controller
$this->processUploadedFile($callbackUrl, $relativePath, $this->getOwnerId());
if (!$pathToDelete) {
Logging::info($pathToDelete);
//delete the empty folder that was uploaded via ftp (if one)
rmdir($pathToDelete);
}