summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/hooks.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-10-23 22:53:54 +0200
committerFelix Moeller <mail@felixmoeller.de>2012-10-23 22:53:54 +0200
commite73b817a38a824b3119136ea110eda4be15b99d5 (patch)
tree2679aaf755b1488bf50cb073dbd990fe2761679b /apps/files_versions/lib/hooks.php
parent36d0d7590134f5587ab09c67927c3187e8b5c790 (diff)
downloadnextcloud-server-e73b817a38a824b3119136ea110eda4be15b99d5.tar.gz
nextcloud-server-e73b817a38a824b3119136ea110eda4be15b99d5.zip
Checkstyle: NoSpaceAfterComma
Diffstat (limited to 'apps/files_versions/lib/hooks.php')
-rw-r--r--apps/files_versions/lib/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/hooks.php b/apps/files_versions/lib/hooks.php
index 500ce0ef064..822103ebc32 100644
--- a/apps/files_versions/lib/hooks.php
+++ b/apps/files_versions/lib/hooks.php
@@ -64,7 +64,7 @@ class Hooks {
$abs_newpath = \OCP\Config::getSystemValue('datadirectory').$versions_fileview->getAbsolutePath('').$params['newpath'].'.v';
if(Storage::isversioned($rel_oldpath)) {
$info=pathinfo($abs_newpath);
- if(!file_exists($info['dirname'])) mkdir($info['dirname'],0750,true);
+ if(!file_exists($info['dirname'])) mkdir($info['dirname'],0750, true);
$versions = Storage::getVersions($rel_oldpath);
foreach ($versions as $v) {
rename($abs_oldpath.$v['version'], $abs_newpath.$v['version']);