From 2b2c45896878410df5f241fc605054a01ee6473f Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 2 Nov 2024 23:28:27 +0100 Subject: [PATCH] Revert "Update admin.php" This reverts commit 4c6ea10fda43f1cb328c777ab2f586b215dc9182. --- admin/admin.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 84f3952b..92648190 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -137,10 +137,6 @@ function doliconnect_network_page() { } else { update_site_option('dolibarr_private_key', sanitize_text_field($_REQUEST['dolibarr_private_key'])); } -if ( add_site_option( 'doliconnectPRO', sanitize_text_field($_REQUEST['doliconnectPRO'])) ) { -} else { -update_site_option('doliconnectPRO', sanitize_text_field($_REQUEST['doliconnectPRO'])); -} if ( add_site_option( 'doliconnect_login', sanitize_text_field($_REQUEST['doliconnect_login'])) ) { } else { update_site_option('doliconnect_login', sanitize_text_field($_REQUEST['doliconnect_login'])); @@ -178,15 +174,11 @@ function doliconnect_network_page() { - + - - - - - +
required
ex: https://dolibarr.example.com
/api/index.php
ex: https://dolibarr.example.com
required
optionnal