Skip to content

Commit cf17212

Browse files
committed
No longer needed, since not logged
Signed-off-by: Shawn Bulen <bulens@pacbell.net>
1 parent 6a97f8d commit cf17212

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Sources/User.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,15 +1545,6 @@ public function kickIfGuest(?string $message = null, bool $log = true): void
15451545
return;
15461546
}
15471547

1548-
// Log what they were trying to do that didn't work.
1549-
if ($log) {
1550-
if (!empty(Config::$modSettings['who_enabled'])) {
1551-
$_GET['error'] = 'guest_login';
1552-
}
1553-
1554-
$this->logOnline(true);
1555-
}
1556-
15571548
// Just die.
15581549
if (isset($_REQUEST['xml'])) {
15591550
Utils::obExit(false);

0 commit comments

Comments
 (0)