]> source.dussan.org Git - nextcloud-server.git/commitdiff
added missing parameter documentation
authorBjoern Schiessle <schiessle@owncloud.com>
Sat, 17 Aug 2013 11:46:33 +0000 (13:46 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Sat, 17 Aug 2013 15:36:09 +0000 (17:36 +0200)
apps/files_versions/lib/versions.php

index a9b1d220145b16fb74fee873b31dedeb0fac8396..35944e97f198eb2418d39a7de98d2c47ae03a019 100644 (file)
@@ -183,7 +183,7 @@ class Storage {
                } else  if ( ($versions = Storage::getVersions($uid, $oldpath)) ) {
                        // create missing dirs if necessary
                        self::createMissingDirectories($newpath, new \OC\Files\View('/'. $uidn));
-                       
+
                        foreach ($versions as $v) {
                                $versions_view->rename($oldpath.'.v'.$v['version'], $newpath.'.v'.$v['version']);
                        }
@@ -545,6 +545,7 @@ class Storage {
        /**
         * @brief create recursively missing directories
         * @param string $filename $path to a file
+        * @param \OC\Files\View $view view on data/user/
         */
        private static function createMissingDirectories($filename, $view) {
                $dirname = \OC_Filesystem::normalizePath(pathinfo($filename, PATHINFO_DIRNAME));