From fefa4412c4e4bab82517cca6f92680bcf0c71c2d Mon Sep 17 00:00:00 2001 From: Sam Tuke Date: Wed, 16 May 2012 15:17:51 +0100 Subject: [PATCH] added phpdoc comment --- apps/files_versions/versions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/files_versions/versions.php b/apps/files_versions/versions.php index 75a0e1a213..89f7278dea 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' ) {