cc-3936: Added warning whenever files that don't exist in db are requested to be deleted.

This commit is contained in:
Rudi Grinberg 2012-08-27 16:47:42 -04:00
parent be602c3318
commit 57020b6e3b
1 changed files with 2 additions and 0 deletions

View File

@ -517,6 +517,8 @@ class ApiController extends Zend_Controller_Action
if (is_null($file)) {
$return_hash['error'] = "File doesn't exist in Airtime.";
Logging::warn("Attempt to delete file that doesn't exist.
Path: '$filepath'");
return $return_hash;
}
else {