[Pkg-owncloud-commits] [owncloud] 81/394: make function static

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:32 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 39b6bb8a180312419302f072a3f6a565a0af719f
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Fri Nov 9 13:13:11 2012 +0100

    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 84cddb7..2306408 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])) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list