Browse code

fix codingstyle

Hanno Böck authored on02/05/2020 12:01:35
Showing3 changed files
... ...
@@ -220,7 +220,8 @@ function get_domain_auto_records($domainname)
220 220
 }
221 221
 
222 222
 
223
-function warn_autorecord_collission($hostname, $domain, $type) {
223
+function warn_autorecord_collission($hostname, $domain, $type)
224
+{
224 225
     $autorecords = get_domain_auto_records($domain);
225 226
     foreach ($autorecords as $ar) {
226 227
         if ($ar['hostname'] == $hostname && $ar['type'] == $type) {
... ...
@@ -142,7 +142,7 @@ function delete_jabber_account($id)
142 142
     logger(LOG_INFO, "modules/jabber/include/jabberaccounts", "jabber", "deleted account »{$id}«");
143 143
 }
144 144
 
145
-function domains_without_accounts() 
145
+function domains_without_accounts()
146 146
 {
147 147
     $domains = get_domain_list((int) $_SESSION['customerinfo']['customerno']);
148 148
     $accounts = get_jabber_accounts();
... ...
@@ -165,7 +165,7 @@ function domains_without_accounts()
165 165
 }
166 166
 
167 167
 
168
-function delete_jabber_domain($id) 
168
+function delete_jabber_domain($id)
169 169
 {
170 170
     $d = new Domain((int) $id);
171 171
     $d->ensure_customerdomain();
... ...
@@ -92,8 +92,6 @@ if ($_GET['action'] == 'new') {
92 92
             header("Location: accounts");
93 93
         }
94 94
     }
95
-
96
-
97 95
 } else {
98 96
     system_failure("Unimplemented action");
99 97
 }