]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove obsolete passesCSRFCheck()
authorThomas Müller <thomas.mueller@tmit.eu>
Sun, 6 Oct 2013 22:34:23 +0000 (00:34 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Sun, 6 Oct 2013 22:34:23 +0000 (00:34 +0200)
lib/private/appframework/core/api.php

index 39522ee3dd5ce2e4ab6add7a8808206ee2faf5d7..c5991237ed1299a064b28216951f3cfdad6e27da 100644 (file)
@@ -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