From 7e036da554cb6cce414aa84a4b7ffc876c1673a0 Mon Sep 17 00:00:00 2001 From: Tom Homer Date: Sat, 15 Oct 2016 10:10:15 -0400 Subject: [PATCH] Removed $_db_mysqldump_path Removed references to mysqldump path since not used anymore with new database backup class. --- public_html/admin/install/classes/installer.class.php | 1 - system/classes/config.class.php | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/public_html/admin/install/classes/installer.class.php b/public_html/admin/install/classes/installer.class.php index 63f674498..0ea635e63 100644 --- a/public_html/admin/install/classes/installer.class.php +++ b/public_html/admin/install/classes/installer.class.php @@ -3064,7 +3064,6 @@ private function installEngine($installType, $installStep) */ // Hack: not needed here - avoid notice - $_DB_mysqldump_path = ''; require_once dirname(__FILE__) . '/../../../lib-common.php'; $this->defaultPluginInstall(); } diff --git a/system/classes/config.class.php b/system/classes/config.class.php index 62f2b1875..a6a6c779d 100644 --- a/system/classes/config.class.php +++ b/system/classes/config.class.php @@ -294,17 +294,6 @@ public function &get_config($group) $retval = false; if (array_key_exists($group, $this->config_array)) { - // an ugly little hack to ensure backward compatibility ... - if ($group === 'Core') { - global $_DB_mysqldump_path; - - if (isset($this->config_array[$group]['mysqldump_path'])) { - $_DB_mysqldump_path = $this->config_array[$group]['mysqldump_path']; - } else { - $_DB_mysqldump_path = ''; - } - } - return $this->config_array[$group]; }