Add deprecation warning
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
130fdf5006
commit
35db32f504
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue