From e578e2a206d9697bfcb9b3173cefe70c5ece1626 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 2 Apr 2025 08:02:53 +0200 Subject: [PATCH] remove old function getBoolValue() --- op/op.Settings.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/op/op.Settings.php b/op/op.Settings.php index a682ec2b6..da5a32f9f 100644 --- a/op/op.Settings.php +++ b/op/op.Settings.php @@ -29,17 +29,6 @@ include("../inc/inc.DBInit.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); - -function getBoolValue($post_name) -{ - $out = false; - if (isset($_POST[$post_name])) - if ($_POST[$post_name]=="on") - $out = true; - - return $out; -} - if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); }