From: Sam Tuke Date: Wed, 16 May 2012 14:17:51 +0000 (+0100) Subject: added phpdoc comment X-Git-Tag: v4.5.0beta1~74^2~424^2~30^2~4^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fefa4412c4e4bab82517cca6f92680bcf0c71c2d;p=nextcloud-server.git added phpdoc comment --- diff --git a/apps/files_versions/versions.php b/apps/files_versions/versions.php index 75a0e1a213c..89f7278deac 100755 --- a/apps/files_versions/versions.php +++ b/apps/files_versions/versions.php @@ -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' ) {