Commit 2bc19843 authored by Evan Prodromou's avatar Evan Prodromou

hide warnings when unlinking an avatar file

darcs-hash:20080612185322-84dde-b14d4cbc90f3b5b04931e4b5d3c20f027abb609c.gz
parent c2a170da
......@@ -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));
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment