mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
remove old function getBoolValue()
This commit is contained in:
parent
22f23c71f0
commit
e578e2a206
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user