remove obsolete passesCSRFCheck()

remotes/origin/stable6
Thomas Müller 12 years ago
parent e071bfc144
commit f3c6546d5b
  1. 10
      lib/private/appframework/core/api.php

@ -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…
Cancel
Save