@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * Core area for notifications, defines the abstract model |
| 24 | 24 | */ |
| 25 | -Interface NotifierInterface |
|
| 25 | +interface NotifierInterface |
|
| 26 | 26 | { |
| 27 | 27 | /** |
| 28 | 28 | * Process a certain task in order to send out the notifications. |
@@ -266,7 +266,7 @@ |
||
| 266 | 266 | * |
| 267 | 267 | * @return bool |
| 268 | 268 | */ |
| 269 | - public function isSet($key) |
|
| 269 | + public function isset($key) |
|
| 270 | 270 | { |
| 271 | 271 | return $this->__isset($key); |
| 272 | 272 | } |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | if (!empty($_POST['otp_token'])) |
| 248 | 248 | { |
| 249 | 249 | require_once(EXTDIR . '/GoogleAuthenticator.php'); |
| 250 | - $ga = New \GoogleAuthenticator(); |
|
| 250 | + $ga = new \GoogleAuthenticator(); |
|
| 251 | 251 | |
| 252 | 252 | $ga->getCode($user_setting['otp_secret']); |
| 253 | 253 | $checkResult = $ga->verifyCode($user_setting['otp_secret'], $_POST['otp_token'], 2); |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | <<<'MSG' |
| 214 | 214 | PHP Fatal error: Uncaught exception '%s' with message '%s' in %s:%s<br /> |
| 215 | 215 | Stack trace:<br />%s<br /> thrown in %s on line %s |
| 216 | -MSG; |
|
| 216 | +msg; |
|
| 217 | 217 | |
| 218 | 218 | // write trace lines into main template |
| 219 | 219 | return sprintf( |