summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-08-29 14:52:10 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-29 14:52:50 +0200
commit35db32f504021bb913e6b3b5dd4f3a9ebd99235a (patch)
tree1f85204b42f22b06d9313be8b8dbf99037733ca1 /lib/public/AppFramework
parent130fdf50061315b377c6d8916902326d614f66b0 (diff)
downloadnextcloud-server-35db32f504021bb913e6b3b5dd4f3a9ebd99235a.tar.gz
nextcloud-server-35db32f504021bb913e6b3b5dd4f3a9ebd99235a.zip
Add deprecation warning
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
index b3f341ab054..2d32ce0aa01 100644
--- a/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
+++ b/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
@@ -110,6 +110,7 @@ class EmptyContentSecurityPolicy {
* @param bool $state
* @return $this
* @since 8.1.0
+ * @deprecated Eval should not be used anymore. Please update your scripts. This function will stop functioning in a future version of Nextcloud.
*/
public function allowEvalScript($state = true) {
$this->evalScriptAllowed = $state;