@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | ], |
| 91 | 91 | 'condition' => TRUE], |
| 92 | 92 | 'OpenRoaming® (%REALM%)' => [ |
| 93 | - 'ssid' => [], /* OpenRoaming has left SSIDs behind */ |
|
| 93 | + 'ssid' => [], /* OpenRoaming has left SSIDs behind */ |
|
| 94 | 94 | 'oi' => [ |
| 95 | 95 | '5A03BA0000', /* OpenRoaming/AllIdentities/SettlementFree/NoPersonalData/BaselineQoS */ |
| 96 | 96 | '5A03BA0800', /* OpenRoaming/EduIdentities/SettlementFree/NoPersonalData/BaselineQoS */ |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | 'makensis' => 'makensis', |
| 166 | 166 | 'zip' => 'zip', |
| 167 | 167 | 'trust-store-mozilla' => '/etc/ssl/certs/ca-certificates.crt', |
| 168 | - 'trust-store-custom' => __DIR__ . "/known-roots.pem", |
|
| 168 | + 'trust-store-custom' => __DIR__."/known-roots.pem", |
|
| 169 | 169 | ]; |
| 170 | 170 | |
| 171 | 171 | /** |
@@ -203,13 +203,13 @@ discard block |
||
| 203 | 203 | 'db' => 'radacct', |
| 204 | 204 | 'user' => 'someuser', |
| 205 | 205 | 'pass' => 'somepass', |
| 206 | - 'readonly' => TRUE,], |
|
| 206 | + 'readonly' => TRUE, ], |
|
| 207 | 207 | 'RADIUS_2' => [ |
| 208 | 208 | 'host' => 'auth-2.hosted.eduroam.org', |
| 209 | 209 | 'db' => 'radacct', |
| 210 | 210 | 'user' => 'someuser', |
| 211 | 211 | 'pass' => 'somepass', |
| 212 | - 'readonly' => TRUE,], |
|
| 212 | + 'readonly' => TRUE, ], |
|
| 213 | 213 | ]; |
| 214 | 214 | |
| 215 | 215 | /** |
@@ -741,9 +741,9 @@ discard block |
||
| 741 | 741 | $active = -1; |
| 742 | 742 | } else { |
| 743 | 743 | if ($inactivityOverride == []) { |
| 744 | - $inactivityTimestamp = time() - \config\ConfAssistant::ADMIN_LOGINS['allowed_inactivity_days']*24*3600; |
|
| 744 | + $inactivityTimestamp = time() - \config\ConfAssistant::ADMIN_LOGINS['allowed_inactivity_days'] * 24 * 3600; |
|
| 745 | 745 | } else { |
| 746 | - $inactivityTimestamp = time() - $inactivityOverride[0]['value']*24*3600; |
|
| 746 | + $inactivityTimestamp = time() - $inactivityOverride[0]['value'] * 24 * 3600; |
|
| 747 | 747 | } |
| 748 | 748 | // $active shows the time difference between the moment when a login thime would be considered as inactive |
| 749 | 749 | // and the start of the recording system. If this is negative then we we cannot tell that someone who |
@@ -768,7 +768,7 @@ discard block |
||
| 768 | 768 | $this->adminLogins[$idp] = 1; |
| 769 | 769 | continue; |
| 770 | 770 | } |
| 771 | - if (strtotime($adminLoginQuery->last_login) < $inactivityTimestamp) { |
|
| 771 | + if (strtotime($adminLoginQuery->last_login) < $inactivityTimestamp) { |
|
| 772 | 772 | $this->adminLogins[$idp] = 1; |
| 773 | 773 | continue; |
| 774 | 774 | } |