Explorar el Código

clientareafunctions

andre hace 3 años
padre
commit
a9b2886d64
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      cwp7.php

+ 1 - 2
cwp7.php

@@ -17,6 +17,7 @@ if (!defined('WHMCS')) {
 	die('This file cannot be accessed directly');
 	die('This file cannot be accessed directly');
 }
 }
 
 
+global $testvar;
 $testvar = "blubb";
 $testvar = "blubb";
 
 
 function cwp7_MetaData() {
 function cwp7_MetaData() {
@@ -323,8 +324,6 @@ function cwp7_UsageUpdate($params) {
 
 
 function cwp7CheckDNS($domain, $serverIP, $recurse = 0) {
 function cwp7CheckDNS($domain, $serverIP, $recurse = 0) {
 
 
-	global $testvar;
-	
 	logModuleCall(
 	logModuleCall(
 		'cwp7',
 		'cwp7',
 		__FUNCTION__,
 		__FUNCTION__,