diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-12 14:53:22 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-12 14:53:22 -0400 |
commit | 2bc198432c1bd61ed98d49568869f341badb2057 (patch) | |
tree | 2e79f5834c02d0455f69f3e18969678c2bd13c40 /classes/Avatar.php | |
parent | c2a170da108a6645846aa2e60238974b49363b21 (diff) |
hide warnings when unlinking an avatar file
darcs-hash:20080612185322-84dde-b14d4cbc90f3b5b04931e4b5d3c20f027abb609c.gz
Diffstat (limited to 'classes/Avatar.php')
-rw-r--r-- | classes/Avatar.php | 2 |
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)); } } |