remove obsolete passesCSRFCheck()

This commit is contained in:
Thomas Müller 2013-10-07 00:34:23 +02:00
parent e071bfc144
commit f3c6546d5b
1 changed files with 0 additions and 10 deletions

View 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