Browse files

Fix regression where slony menu is always shown.

Regression from patch 36cdb2e "Fix a
small PHP warning when Slony conf parameters are not set".
  • Loading branch information...
1 parent bd884e0 commit 0b7de9a025c84ec9c184ce0d8f91a0d8eef08861 @ioguix ioguix committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/lib.inc.php
View
2 libraries/lib.inc.php
@@ -220,7 +220,7 @@
}
// Load Slony if required
- if (isset($_server_info['slony_support'])) {
+ if (isset($_server_info['slony_support']) && $_server_info['slony_support']) {
include('./classes/plugins/Slony.php');
$slony = new Slony();
}

0 comments on commit 0b7de9a

Please sign in to comment.