Skip to content
Snippets Groups Projects
Commit f3c6546d authored by Thomas Müller's avatar Thomas Müller
Browse files

remove obsolete passesCSRFCheck()

parent e071bfc1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment