more cleanup

cleanup
kc1awv 2020-10-27 16:25:46 -04:00
parent 2f02e1414d
commit db601a7aef
1 changed files with 7 additions and 1 deletions

View File

@ -292,6 +292,7 @@ class xReflector {
return $out; return $out;
} }
/*
public function GetModuleOfNode($Node) { public function GetModuleOfNode($Node) {
die("FUNCTION DEPRECATED..."); die("FUNCTION DEPRECATED...");
$Node = trim(str_replace(" ", "-", $Node)); $Node = trim(str_replace(" ", "-", $Node));
@ -310,6 +311,7 @@ class xReflector {
} }
return $Module; return $Module;
} }
*/
public function GetCallSignsInModules($Module) { public function GetCallSignsInModules($Module) {
$out = array(); $out = array();
@ -331,6 +333,7 @@ class xReflector {
return $out; return $out;
} }
/*
public function SetCallingHome($CallingHomeVariables, $Hash) { public function SetCallingHome($CallingHomeVariables, $Hash) {
if (!isset($CallingHomeVariables['Active'])) { $CallingHomeVariables['Active'] = false; } if (!isset($CallingHomeVariables['Active'])) { $CallingHomeVariables['Active'] = false; }
@ -363,6 +366,7 @@ class xReflector {
public function PushCallingHome() { public function PushCallingHome() {
$CallingHome = @fopen($this->CallingHomeServerURL."?ReflectorName=".$this->ReflectorName."&ReflectorUptime=".$this->ServiceUptime."&ReflectorHash=".$this->CallingHomeHash."&DashboardURL=".$this->CallingHomeDashboardURL."&Country=".urlencode($this->CallingHomeCountry)."&Comment=".urlencode($this->CallingHomeComment)."&OverrideIP=".$this->CallingHomeOverrideIP, "r"); $CallingHome = @fopen($this->CallingHomeServerURL."?ReflectorName=".$this->ReflectorName."&ReflectorUptime=".$this->ServiceUptime."&ReflectorHash=".$this->CallingHomeHash."&DashboardURL=".$this->CallingHomeDashboardURL."&Country=".urlencode($this->CallingHomeCountry)."&Comment=".urlencode($this->CallingHomeComment)."&OverrideIP=".$this->CallingHomeOverrideIP, "r");
} }
*/
public function ReadInterlinkFile() { public function ReadInterlinkFile() {
if (file_exists($this->Interlinkfile) && (is_readable($this->Interlinkfile))) { if (file_exists($this->Interlinkfile) && (is_readable($this->Interlinkfile))) {
@ -418,6 +422,7 @@ class xReflector {
</reflector>'; </reflector>';
} }
/*
public function CallHome() { public function CallHome() {
$xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> $xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<query>CallingHome</query>'.$this->ReflectorXML.$this->InterlinkXML; <query>CallingHome</query>'.$this->ReflectorXML.$this->InterlinkXML;
@ -429,6 +434,7 @@ class xReflector {
die("CONNECTION FAILED!"); die("CONNECTION FAILED!");
} }
} }
*/
public function InterlinkCount() { public function InterlinkCount() {
return count($this->Interlinks); return count($this->Interlinks);