Skip to content

Commit

Permalink
Merge pull request #16 from C4K3/update-old-mysql-call
Browse files Browse the repository at this point in the history
Remove old call to mysql_connect
  • Loading branch information
Digitalroot committed Jul 21, 2016
2 parents 700bba8 + a553fdd commit 49ef6a9
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 49ef6a9

Please sign in to comment.