#209 Start migration logic

merge-requests/2/head
Mike Koch 9 years ago
parent f056e83b40
commit 6be1d32a54

@ -1,5 +1,8 @@
<?php
define('IN_SCRIPT', 1);
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
echo $hesklang['yes'];
function executeQuery($sql) {
global $hesk_last_query;
@ -578,6 +581,16 @@ function execute240Scripts() {
}
}
function initializeXrefTable() {
global $hesk_settings, $hesklang;
/*
* TODO:
* 1. Get each key from the DB
* 2. For each language, insert a xref record for the key
*/
}
function execute240FileUpdate() {
$file = file_get_contents(HESK_PATH . 'modsForHesk_settings.inc.php');

Loading…
Cancel
Save