summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 12:30:21 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 12:30:21 +0100
commita9d1a0144018e60ba2728708bf965b4d9855920b (patch)
tree654af530f9af35621fbe7033b244085693c300d6 /lib/public/appframework
parentb20174bdad33f619054db08e320e5e546e2834b1 (diff)
downloadnextcloud-server-a9d1a0144018e60ba2728708bf965b4d9855920b.tar.gz
nextcloud-server-a9d1a0144018e60ba2728708bf965b4d9855920b.zip
Rename to allowEval
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/http/contentsecuritypolicy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/appframework/http/contentsecuritypolicy.php b/lib/public/appframework/http/contentsecuritypolicy.php
index 8132237a228..cb9a241d8af 100644
--- a/lib/public/appframework/http/contentsecuritypolicy.php
+++ b/lib/public/appframework/http/contentsecuritypolicy.php
@@ -81,7 +81,7 @@ class ContentSecurityPolicy {
* @param bool $state
* @return $this
*/
- public function evalScriptState($state = true) {
+ public function allowEvalScript($state = true) {
$this->evalScriptAllowed= $state;
return $this;
}