Don't hide errors doing the versioning copy

This commit is contained in:
Bart Visscher 2012-09-13 00:08:04 +02:00
parent d3553ce33d
commit 10b74f9d05
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class Storage {
if(!file_exists($versionsFolderName.'/'.$info['dirname'])) mkdir($versionsFolderName.'/'.$info['dirname'],0700,true);
// store a new version of a file
@$users_view->copy('files'.$filename, 'files_versions'.$filename.'.v'.time());
$users_view->copy('files'.$filename, 'files_versions'.$filename.'.v'.time());
// expire old revisions if necessary
Storage::expire($filename);