added phpdoc comment
This commit is contained in:
parent
2afd516ee9
commit
fefa4412c4
|
@ -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' ) {
|
if( \OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED)=='true' ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue