summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:34:23 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:34:23 +0200
commitf3c6546d5b6b84375ae18fb155de26303809498f (patch)
tree44328c1417953d6818abc4814b840bead5d8f7d7 /lib/private/appframework/core
parente071bfc14476877b9731bfe84904858444eb1dbd (diff)
downloadnextcloud-server-f3c6546d5b6b84375ae18fb155de26303809498f.tar.gz
nextcloud-server-f3c6546d5b6b84375ae18fb155de26303809498f.zip
remove obsolete passesCSRFCheck()
Diffstat (limited to 'lib/private/appframework/core')
-rw-r--r--lib/private/appframework/core/api.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/appframework/core/api.php b/lib/private/appframework/core/api.php
index 39522ee3dd5..c5991237ed1 100644
--- a/lib/private/appframework/core/api.php
+++ b/lib/private/appframework/core/api.php
@@ -173,16 +173,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
* @return bool true if app is enabled