From: Björn Schießle Date: Thu, 14 Feb 2013 13:26:49 +0000 (+0100) Subject: make store function static X-Git-Tag: v5.0.0beta1~4^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b05f05ec4a254ca5c2418fee473b648e52bb7e1d;p=nextcloud-server.git make store function static --- diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index 9f021bc4f88..c537fcf3519 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -55,7 +55,7 @@ class Storage { /** * store a new version of a file. */ - public function store($filename) { + public static function store($filename) { if(\OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED)=='true') { $owner = \OC\Files\Filesystem::getOwner($filename); if ( $owner != \OCP\User::getUser() ) {