Skip to content

Commit

Permalink
Remove old call to mysql_connect
Browse files Browse the repository at this point in the history
Must have been overlooked when previously rewriting things to MySQLi.
This fixes #15 and also the other problem in #12.
  • Loading branch information
C4K3 committed Jul 21, 2016
1 parent 700bba8 commit a553fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Auth_phpbb.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private function connect()
else
{
// Connect to database.
$fresMySQLConnection = mysql_connect($GLOBALS['wgDBserver'], $GLOBALS['wgDBuser'],
$fresMySQLConnection = new mysqli($GLOBALS['wgDBserver'], $GLOBALS['wgDBuser'],
$GLOBALS['wgDBpassword'], $GLOBALS['wgDBname']);

// Check if we are connected to the database.
Expand Down

0 comments on commit a553fdd

Please sign in to comment.