Skip to content

Commit

Permalink
mysql_functions - cleanup whitespace style
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianZaremba committed Dec 10, 2024
1 parent 1e10d49 commit ccddd88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function checkMySQL()

function connect_to_mysql()
{
if(count(Config::$mw_mysql_credentials) > 0) {
$entry = rand(0, count(Config::$mw_mysql_credentials)-1);
if (count(Config::$mw_mysql_credentials) > 0) {
$entry = rand(0, count(Config::$mw_mysql_credentials) - 1);
$mw_mysql_user = Config::$mw_mysql_credentials[$entry]['user'];
$mw_mysql_pass = Config::$mw_mysql_credentials[$entry]['pass'];
} else {
Expand Down

0 comments on commit ccddd88

Please sign in to comment.