]> source.dussan.org Git - nextcloud-server.git/commitdiff
added phpdoc comment
authorSam Tuke <samtuke@owncloud.com>
Wed, 16 May 2012 14:17:51 +0000 (15:17 +0100)
committerSam Tuke <samtuke@owncloud.com>
Wed, 16 May 2012 14:17:51 +0000 (15:17 +0100)
apps/files_versions/versions.php

index 75a0e1a213c17b67161c8c57bf0bae865a750283..89f7278deac81344ebfd2ec137fea4a5084902d2 100755 (executable)
@@ -165,9 +165,12 @@ class Storage {
 
         
         /**
-         * get a list of old versions of a file.
+         * @brief get a list of all available versions of a file in descending chronological order
+         * @param $filename file to find versions of, relative to the user files dir
+         * @param $count number of versions to return
+         * @returns array
          */
-        public static function getversions($filename,$count=0) {
+        public static function getversions( $filename, $count = 0 ) {
         
                 if( \OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED)=='true' ) {