Skip to content

Commit

Permalink
Removes test call in Forum
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Smith <[email protected]>

Signed-off-by: Joey Smith <[email protected]>
  • Loading branch information
tyrsson committed Dec 3, 2023
1 parent 8c5d974 commit 38178a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/Forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
namespace SMF;

use SMF\Db\DatabaseApi as Db;
//use function SMF\sanitize_chars;

/**
* The root Forum class. Used when browsing the forum normally.
Expand Down Expand Up @@ -194,7 +193,6 @@ class Forum
*/
public function __construct()
{
$test = sanitize_chars('testing');
// If Config::$maintenance is set specifically to 2, then we're upgrading or something.
if (!empty(Config::$maintenance) && 2 === Config::$maintenance) {
ErrorHandler::displayMaintenanceMessage();
Expand Down

0 comments on commit 38178a8

Please sign in to comment.