Yaron Koren has submitted this change and it was merged.

Change subject: Restored support for PHP < 5.4
......................................................................


Restored support for PHP < 5.4

Change-Id: Ic3a516b4e6099f28170dbb106a76c8cc5fa7fc2e
---
M CargoUtils.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Yaron Koren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/CargoUtils.php b/CargoUtils.php
index d72ee55..d744aac 100644
--- a/CargoUtils.php
+++ b/CargoUtils.php
@@ -44,14 +44,14 @@
                $dbFlags = DBO_DEFAULT;
                $dbTablePrefix = $wgDBprefix . 'cargo__';
 
-               $params = [
+               $params = array(
                        'host' => $dbServer,
                        'user' => $dbUsername,
                        'password' => $dbPassword,
                        'dbname' => $dbName,
                        'flags' => $dbFlags,
                        'tablePrefix' => $dbTablePrefix,
-               ];
+               );
 
                if ( class_exists( 'Database' ) ) {
                        // MW 1.27+

-- 
To view, visit https://gerrit.wikimedia.org/r/323541
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3a516b4e6099f28170dbb106a76c8cc5fa7fc2e
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to