|
|
|
@ -556,8 +556,10 @@ function migrateSettings()
|
|
|
|
|
|
|
|
|
|
hesk_dbConnect();
|
|
|
|
|
|
|
|
|
|
$modsForHesk_settings = array();
|
|
|
|
|
if (file_exists(HESK_PATH . 'modsForHesk_settings.inc.php')) {
|
|
|
|
|
require_once(HESK_PATH . 'modsForHesk_settings.inc.php');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$rtl = getSettingValue($modsForHesk_settings, 'rtl', 0);
|
|
|
|
|
$show_icons = getSettingValue($modsForHesk_settings, 'show_icons', 0);
|
|
|
|
@ -649,7 +651,6 @@ function migrateSettings()
|
|
|
|
|
VALUES ('dropdownItemTextHoverBackgroundColor', '" . hesk_dbEscape($dropdown_item_text_hover_background_color) . "')");
|
|
|
|
|
executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`)
|
|
|
|
|
VALUES ('questionMarkColor', '" . hesk_dbEscape($question_mark_color) . "')");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getSettingValue($settings, $setting, $default)
|
|
|
|
|