Zoranzoki21 has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/380919 )
Change subject: Fix problem Notice: Undefined variable: clusterNr in
/mnt/nfs/labstore-secondary-tools-project/guc/labs-tools-guc/src/App.php on
line 70
......................................................................
Fix problem Notice: Undefined variable: clusterNr in
/mnt/nfs/labstore-secondary-tools-project/guc/labs-tools-guc/src/App.php on
line 70
Change-Id: I467ff53129003039c6bfcce376c6cef3299930bb
---
M src/App.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/tools/guc
refs/changes/19/380919/2
diff --git a/src/App.php b/src/App.php
index 57a69d6..148f0f3 100644
--- a/src/App.php
+++ b/src/App.php
@@ -67,7 +67,7 @@
* @return PDO
*/
public function getDB($database = 'meta', $cluster = 's1') {
- if (!$clusterNr) {
+ if (!$cluster) {
throw new Exception('Invalid DB cluster specification');
}
// Reuse existing connection if possible
--
To view, visit https://gerrit.wikimedia.org/r/380919
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I467ff53129003039c6bfcce376c6cef3299930bb
Gerrit-PatchSet: 2
Gerrit-Project: labs/tools/guc
Gerrit-Branch: master
Gerrit-Owner: Zoranzoki21 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits