From f3c6546d5b6b84375ae18fb155de26303809498f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Mon, 7 Oct 2013 00:34:23 +0200
Subject: [PATCH] remove obsolete passesCSRFCheck()

---
 lib/private/appframework/core/api.php | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/lib/private/appframework/core/api.php b/lib/private/appframework/core/api.php
index 39522ee3dd..c5991237ed 100644
--- a/lib/private/appframework/core/api.php
+++ b/lib/private/appframework/core/api.php
@@ -172,16 +172,6 @@ class API implements IApi{
 	}
 
 
-	/**
-	 * Checks if the CSRF check was correct
-	 * @return bool true if CSRF check passed
-	 */
-	public function passesCSRFCheck(){
-		# TODO: use public api
-		return \OC_Util::isCallRegistered();
-	}
-
-
 	/**
 	 * Checks if an app is enabled
 	 * @param string $appName the name of an app
-- 
GitLab