mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
remove obsolete passesCSRFCheck()
This commit is contained in:
parent
e071bfc144
commit
f3c6546d5b
1 changed files with 0 additions and 10 deletions
|
|
@ -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 a new issue