Code cleaning
This commit is contained in:
parent
bfa1e60e4e
commit
84e01a2a35
@ -469,17 +469,7 @@ class common
|
|||||||
self::$dialog = array_merge(self::$dialog, $d);
|
self::$dialog = array_merge(self::$dialog, $d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Éditer les dialogues
|
|
||||||
// --- A COMMENTER --------
|
|
||||||
/*
|
|
||||||
$l = 'en';
|
|
||||||
if (file_exists(self::I18N_DIR . $l . '.json')) {
|
|
||||||
foreach (self::$dialog as $key => $value) {
|
|
||||||
helper::googleTranslate($l, $key);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
// Mise à jour des données core
|
// Mise à jour des données core
|
||||||
if ($this->getData(['core', 'dataVersion']) !== intval(str_replace('.', '', self::ZWII_VERSION))) include('core/include/update.inc.php');
|
if ($this->getData(['core', 'dataVersion']) !== intval(str_replace('.', '', self::ZWII_VERSION))) include('core/include/update.inc.php');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user