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)) {
|
if (is_null($file)) {
|
||||||
$return_hash['error'] = "File doesn't exist in Airtime.";
|
$return_hash['error'] = "File doesn't exist in Airtime.";
|
||||||
|
Logging::warn("Attempt to delete file that doesn't exist.
|
||||||
|
Path: '$filepath'");
|
||||||
return $return_hash;
|
return $return_hash;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue