diff options
author | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 15:17:51 +0100 |
---|---|---|
committer | Sam Tuke <samtuke@owncloud.com> | 2012-05-16 15:17:51 +0100 |
commit | fefa4412c4e4bab82517cca6f92680bcf0c71c2d (patch) | |
tree | 31aab661c16db1a4dd341168c20df5ece48d42e7 /apps/files_versions | |
parent | 2afd516ee974d27e12ab2ad4132e8d49db4e6014 (diff) | |
download | nextcloud-server-fefa4412c4e4bab82517cca6f92680bcf0c71c2d.tar.gz nextcloud-server-fefa4412c4e4bab82517cca6f92680bcf0c71c2d.zip |
added phpdoc comment
Diffstat (limited to 'apps/files_versions')
-rwxr-xr-x | apps/files_versions/versions.php | 7 |
1 files changed, 5 insertions, 2 deletions
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' ) { |