From 3d5ae4f81d3b2ba2b64a6697cc417b0a250fa77e Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 24 Oct 2016 15:24:46 +0200 Subject: [PATCH] Revert last change --- nntmux/config/Configure.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nntmux/config/Configure.php b/nntmux/config/Configure.php index 56b4919ea..1cee62cc1 100755 --- a/nntmux/config/Configure.php +++ b/nntmux/config/Configure.php @@ -37,13 +37,9 @@ class Configure ], ]; - public function __construct($environment = '') + public function __construct($environment = 'indexer') { - if (empty($environment)) { - $this->loadEnvironment('indexer'); - } else { - $this->loadEnvironment($environment); - } + $this->loadEnvironment($environment); } private function loadEnvironment($environment)