summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-13 00:08:04 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-13 00:09:00 +0200
commit10b74f9d057a22f018eaaf535cb597354d82e948 (patch)
treeb1d82e64af03496175e916790872a65bae8ee84d
parentd3553ce33d6e971c5e19ef83c8a3cfe1d8e76ba6 (diff)
downloadnextcloud-server-10b74f9d057a22f018eaaf535cb597354d82e948.tar.gz
nextcloud-server-10b74f9d057a22f018eaaf535cb597354d82e948.zip
Don't hide errors doing the versioning copy
-rw-r--r--apps/files_versions/lib/versions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index dedd83fc25a..e429782aed1 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -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);