cc-3936: Added warning whenever files that don't exist in db are requested to be deleted.
This commit is contained in:
parent
be602c3318
commit
57020b6e3b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue