Skip to content
Snippets Groups Projects
Unverified Commit 35db32f5 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Add deprecation warning

parent 130fdf50
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,7 @@ class EmptyContentSecurityPolicy { ...@@ -110,6 +110,7 @@ class EmptyContentSecurityPolicy {
* @param bool $state * @param bool $state
* @return $this * @return $this
* @since 8.1.0 * @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) { public function allowEvalScript($state = true) {
$this->evalScriptAllowed = $state; $this->evalScriptAllowed = $state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment