summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-18 15:43:13 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-22 09:32:14 +0100
commit6f00729124053a8348f95a53d318317eb6d583fc (patch)
tree46650e0d86f9ab921cccc324fbc1df5b017c1318 /lib/base.php
parent152e72c4fcf7d4003924818fae9b1c2f86d6cd2a (diff)
downloadnextcloud-server-6f00729124053a8348f95a53d318317eb6d583fc.tar.gz
nextcloud-server-6f00729124053a8348f95a53d318317eb6d583fc.zip
Refactor OC_Util::callCheck
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index ce4546e8fa3..34cbfe3066c 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -1060,7 +1060,7 @@ class OC {
return false;
}
- if(!OC_Util::isCallRegistered()) {
+ if(!(\OC::$server->getRequest()->passesCSRFCheck())) {
return false;
}
OC_App::loadApps();