summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Avatar.php b/classes/Avatar.php
index ca2e0cbce..24dca038e 100644
--- a/classes/Avatar.php
+++ b/classes/Avatar.php
@@ -31,7 +31,7 @@ class Avatar extends DB_DataObject
function delete() {
$filename = $this->filename;
if (parent::delete()) {
- unlink(common_avatar_path($filename));
+ @unlink(common_avatar_path($filename));
}
}