From 6d947a43b01f17d7952ca6ac602a9a9e90bc2af3 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Sat, 14 Feb 2026 11:27:03 -0500 Subject: [PATCH] Renaming functions due to name space collision --- servcheck_ca.php | 4 ++-- servcheck_credential.php | 4 ++-- servcheck_proxy.php | 4 ++-- servcheck_test.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/servcheck_ca.php b/servcheck_ca.php index 0bd8117..75e9234 100644 --- a/servcheck_ca.php +++ b/servcheck_ca.php @@ -44,7 +44,7 @@ break; case 'edit': top_header(); - data_edit(); + data_ca_edit(); bottom_footer(); break; @@ -169,7 +169,7 @@ function form_save() { exit; } -function data_edit() { +function data_ca_edit() { global $servcheck_ca_fields; // ================= input validation ================= diff --git a/servcheck_credential.php b/servcheck_credential.php index 01c01d3..64381ef 100644 --- a/servcheck_credential.php +++ b/servcheck_credential.php @@ -45,7 +45,7 @@ break; case 'edit': top_header(); - data_edit(); + data_credential_edit(); bottom_footer(); break; @@ -424,7 +424,7 @@ function form_save() { exit; } -function data_edit() { +function data_credential_edit() { global $servcheck_credential_fields, $servcheck_help_credential; // ================= input validation ================= diff --git a/servcheck_proxy.php b/servcheck_proxy.php index 2080da0..141a81c 100644 --- a/servcheck_proxy.php +++ b/servcheck_proxy.php @@ -44,7 +44,7 @@ break; case 'edit': top_header(); - data_edit(); + data_proxy_edit(); bottom_footer(); break; @@ -172,7 +172,7 @@ function form_save() { exit; } -function data_edit() { +function data_proxy_edit() { global $servcheck_proxy_fields; // ================= input validation ================= diff --git a/servcheck_test.php b/servcheck_test.php index 19355b1..4ece2ec 100644 --- a/servcheck_test.php +++ b/servcheck_test.php @@ -51,7 +51,7 @@ break; case 'edit': top_header(); - data_edit(); + data_test_edit(); bottom_footer(); break; @@ -475,7 +475,7 @@ function purge_log_events($id) { raise_message('test_log_purged', __('The Service Check history was purged for %s', $name, 'servcheck'), MESSAGE_LEVEL_INFO); } -function data_edit() { +function data_test_edit() { global $servcheck_test_fields, $service_types, $servcheck_help_test; // ================= input validation =================