Skip to content

Commit

Permalink
Removed $_db_mysqldump_path
Browse files Browse the repository at this point in the history
Removed references to mysqldump path since not used anymore with new
database backup class.
  • Loading branch information
eSilverStrike committed Oct 15, 2016
1 parent ebcef4e commit 7e036da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion public_html/admin/install/classes/installer.class.php
Expand Up @@ -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();
}
Expand Down
11 changes: 0 additions & 11 deletions system/classes/config.class.php
Expand Up @@ -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];
}

Expand Down

0 comments on commit 7e036da

Please sign in to comment.