|  | @@ -78,7 +78,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 78 | 78 |  		if ($this->format != 'simplexml') { | 
                                                                                                            
                                                            | 79 | 79 |  			$args['output'] = $this->format; | 
                                                                                                            
                                                            | 80 | 80 |  		} | 
                                                                                                            
                                                            | 81 |  | -		\StatisticClient::tick('CPanel', str_replace('XML','',$function)); | 
                                                                                                            
                                                            |  | 81 | +		\StatisticClient::tick('CPanel', str_replace('XML', '', $function)); | 
                                                                                                            
                                                            | 82 | 82 |  		$query = 'https://manage2.cpanel.net/'.$function.'?'.http_build_query($args); | 
                                                                                                            
                                                            | 83 | 83 |  		$this->setopt(CURLOPT_URL, $query); | 
                                                                                                            
                                                            | 84 | 84 |  		$this->curl = curl_init(); | 
                                                                                                                                                        
                                                        |  | @@ -91,10 +91,10 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 91 | 91 |  			$errno = curl_errno($this->curl); | 
                                                                                                            
                                                            | 92 | 92 |  			$error = curl_error($this->curl); | 
                                                                                                            
                                                            | 93 | 93 |  			error_log('cPanelLicensing::get failed with error #'.$errno.' "'.$error.'"'); | 
                                                                                                            
                                                            | 94 |  | -			\StatisticClient::report('CPanel', str_replace('XML','',$function), false, $errno, $error, STATISTICS_SERVER); | 
                                                                                                            
                                                            |  | 94 | +			\StatisticClient::report('CPanel', str_replace('XML', '', $function), false, $errno, $error, STATISTICS_SERVER); | 
                                                                                                            
                                                            | 95 | 95 |  			return; | 
                                                                                                            
                                                            | 96 | 96 |  		} | 
                                                                                                            
                                                            | 97 |  | -		\StatisticClient::report('CPanel', str_replace('XML','',$function), true, 0, '', STATISTICS_SERVER); | 
                                                                                                            
                                                            |  | 97 | +		\StatisticClient::report('CPanel', str_replace('XML', '', $function), true, 0, '', STATISTICS_SERVER); | 
                                                                                                            
                                                            | 98 | 98 |  		if ($this->format == 'simplexml') { | 
                                                                                                            
                                                            | 99 | 99 |  			function_requirements('xml2array'); | 
                                                                                                            
                                                            | 100 | 100 |  			$result = xml2array($result, 1, 'attribute'); |