From 39b6bb8a180312419302f072a3f6a565a0af719f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Fri, 9 Nov 2012 13:13:11 +0100 Subject: [PATCH] make function static --- apps/files_sharing/lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/util.php b/apps/files_sharing/lib/util.php index 84cddb738a0..2306408dc0e 100644 --- a/apps/files_sharing/lib/util.php +++ b/apps/files_sharing/lib/util.php @@ -30,7 +30,7 @@ class OC_Files_Sharing_Util { * @param string Shared target file path * @return Returns array with the keys path and permissions or false if not found */ - private function getFile($target) { + private static function getFile($target) { $target = '/'.$target; $target = rtrim($target, '/'); if (isset(self::$files[$target])) {