]> source.dussan.org Git - nextcloud-server.git/commitdiff
make function static
authorBjörn Schießle <schiessle@owncloud.com>
Fri, 9 Nov 2012 12:13:11 +0000 (13:13 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Fri, 9 Nov 2012 12:13:11 +0000 (13:13 +0100)
apps/files_sharing/lib/util.php

index 84cddb738a04540cb99993089d5c845d8d587be8..2306408dc0ee91b328cd810f909f29b129d7e0cc 100644 (file)
@@ -30,7 +30,7 @@ class OC_Files_Sharing_Util {
         * @param string Shared target file path\r
         * @return Returns array with the keys path and permissions or false if not found\r
         */\r
-       private function getFile($target) {\r
+       private static function getFile($target) {\r
                $target = '/'.$target;\r
                $target = rtrim($target, '/');\r
                if (isset(self::$files[$target])) {\r