From a03ac6e05aeac5489076c697f7facc1b037ada73 Mon Sep 17 00:00:00 2001 From: SharkyKZ Date: Sun, 1 Dec 2019 17:01:53 +0200 Subject: [PATCH] Remove token check --- plugins/sampledata/multilang/multilang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sampledata/multilang/multilang.php b/plugins/sampledata/multilang/multilang.php index d4ea074071933..4dabf07148bdc 100644 --- a/plugins/sampledata/multilang/multilang.php +++ b/plugins/sampledata/multilang/multilang.php @@ -476,7 +476,7 @@ public function onAjaxSampledataApplyStep7() */ public function onAjaxSampledataApplyStep8() { - if (!Session::checkToken('get') || $this->app->input->get('type') !== $this->_name) + if ($this->app->input->get('type') !== $this->_name) { return; }