summaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Upload.php b/model/Upload.php
index 586be24..441a14d 100644
--- a/model/Upload.php
+++ b/model/Upload.php
@@ -142,7 +142,7 @@ class Upload extends Model {
if (is_file($dir.'/'.$f))
unlink($dir.'/'.$f);
else
- logError('deleteAllImagePreviews: '.$dir.'/'.$f.' is not a file!');
+ logError(__METHOD__.': '.$dir.'/'.$f.' is not a file!');
$deleted++;
}
}