Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer
This commit is contained in:
commit
f120caa093
3 changed files with 25 additions and 1 deletions
|
@ -356,6 +356,7 @@ class LibraryController extends Zend_Controller_Action
|
|||
|
||||
if (isset($file)) {
|
||||
try {
|
||||
Application_Model_Preference::updateDiskUsage(-1 * abs(filesize($file->getFilePath())));
|
||||
$res = $file->delete();
|
||||
} catch (FileNoPermissionException $e) {
|
||||
$message = $noPermissionMsg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue