From ce36c1be18ce924515399c561f19aef4f0325b49 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Fri, 20 Feb 2015 16:58:09 -0500 Subject: [PATCH] Removed unnecessary call to BaseCcFiles->delete --- airtime_mvc/application/models/airtime/CcFiles.php | 1 - 1 file changed, 1 deletion(-) diff --git a/airtime_mvc/application/models/airtime/CcFiles.php b/airtime_mvc/application/models/airtime/CcFiles.php index 8463e2542..e27bed4a9 100644 --- a/airtime_mvc/application/models/airtime/CcFiles.php +++ b/airtime_mvc/application/models/airtime/CcFiles.php @@ -282,7 +282,6 @@ class CcFiles extends BaseCcFiles { if ($storedFile->existsOnDisk()) { $storedFile->delete(); //TODO: This checks your session permissions... Make it work without a session? } - $file->delete(); } else { throw new FileNotFoundException(); }