remove obsolete passesCSRFCheck()
This commit is contained in:
parent
e071bfc144
commit
f3c6546d5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue