From 743a1acb9b2df9be64e0e8ae8f9e1df74a813c64 Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Sun, 16 Nov 2025 14:35:34 -0500 Subject: [PATCH] Remove unnecessary 'sid' field from settings in htmlposts_activate function --- Upload/inc/plugins/htmlposts.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Upload/inc/plugins/htmlposts.php b/Upload/inc/plugins/htmlposts.php index 4cbfcc1..41a51b7 100644 --- a/Upload/inc/plugins/htmlposts.php +++ b/Upload/inc/plugins/htmlposts.php @@ -75,7 +75,6 @@ function htmlposts_activate() // add settings $setting = array( - "sid" => NULL, "name" => "htmlposts_groups", "title" => "Allowed Groups", "description" => "Enter the group IDs that can use HTML in posts. (separated by a comma, can be blank to allow all)", @@ -88,7 +87,6 @@ function htmlposts_activate() $db->insert_query("settings", $setting); $setting = array( - "sid" => NULL, "name" => "htmlposts_uids", "title" => "Allowed Users", "description" => "Enter the user IDs of the users that can use HTML in posts. (separated by a comma, leave blank to disable this feature)
Note: overrides groups setting.", @@ -101,7 +99,6 @@ function htmlposts_activate() $db->insert_query("settings", $setting); $setting = array( - "sid" => NULL, "name" => "htmlposts_forums", "title" => "Affected Forums", "description" => "Enter the forum IDs that are affected by this plugin. (separated by a comma, can be blank if you want to affect all forums)",