From fe9d59d6cd437362f2de59cfc9158014d8ce00da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Sep 2023 11:34:15 +0300 Subject: remove all mentions of domains_list --- init.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'init.php') diff --git a/init.php b/init.php index fbba819..2744e82 100755 --- a/init.php +++ b/init.php @@ -36,7 +36,6 @@ class Af_Img_Phash extends Plugin { function save() : void { $similarity = (int) $_POST["similarity"]; - $domains_list = $_POST["domains_list"]; $enable_globally = checkbox_to_sql_bool($_POST["phash_enable_globally"]); @@ -44,9 +43,8 @@ class Af_Img_Phash extends Plugin { $this->host->set($this, "similarity", $similarity); $this->host->set($this, "enable_globally", $enable_globally); - $this->host->set($this, "domains_list", $domains_list); - echo $this->T_sprintf("Data saved (%s, %s, %d)", $similarity, $domains_list, $enable_globally); + echo $this->__("Data saved."); } function init($host) { -- cgit v1.2.3