Browse files

Merge pull request #16 from inmarelibero/master

add "@" before "unlink" to avoid useless warning
  • Loading branch information...
2 parents ad1cfa4 + 3e14dab commit fc363ea6ce20fc403a326104a33dc9f092850f54 @dustin10 committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Storage/FileSystemStorage.php
View
2 Storage/FileSystemStorage.php
@@ -65,7 +65,7 @@ public function remove($obj)
continue;
}
- unlink(sprintf('%s/%s', $mapping->getUploadDir(), $name));
+ @unlink(sprintf('%s/%s', $mapping->getUploadDir(), $name));
}
}
}

0 comments on commit fc363ea

Please sign in to comment.