Completed
Pull Request — develop (#7)
by Peter
01:58
created
update.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@
 block discarded – undo
30 30
 
31 31
 $ddns = new DDNS($input['domain'], $input['password']);
32 32
 
33
-if($ddns->inwxLogin()) {
34
-    if($ddns->inwxGetNameserverInfo()) {
33
+if ($ddns->inwxLogin()) {
34
+    if ($ddns->inwxGetNameserverInfo()) {
35 35
         $dnns->inwxSetNameserverInfo($input['ipv4'], 'ipv4');
36 36
         $dnns->inwxSetNameserverInfo($input['ipv6'], 'ipv6');
37 37
     }
38 38
 }
39
-if(OUTPUT){
39
+if (OUTPUT) {
40 40
     $ddns->returnStatus();
41 41
 }
42 42
 $ddns->inwxLogout();
Please login to merge, or discard this patch.
includes/ddns.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,10 +20,10 @@
 block discarded – undo
20 20
     protected $iniFilePath = "./conf/";
21 21
     protected $iniFileInwx = "inwx.ini";
22 22
     protected $iniFileDomain = "";
23
-    protected $inwx = [];       // {apiurl, username, password}
24
-    protected $domain = [];     // [inwx] => {domain, subdomain}, [ddns] => {apikey}
25
-    protected $IP4 = [];        // {oldip, newip, id}
26
-    protected $IP6 = [];        // {oldip, newip, id}
23
+    protected $inwx = []; // {apiurl, username, password}
24
+    protected $domain = []; // [inwx] => {domain, subdomain}, [ddns] => {apikey}
25
+    protected $IP4 = []; // {oldip, newip, id}
26
+    protected $IP6 = []; // {oldip, newip, id}
27 27
     protected $domrobot;
28 28
     protected $logger;
29 29
     protected $returnStatus = "";
Please login to merge, or discard this patch.