* finish task #6043.

This commit is contained in:
wangyidong
2019-07-05 08:59:55 +08:00
parent 3295637367
commit 4df1ef92ff
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -40,6 +40,9 @@ class translate extends control
*/
public function index()
{
/* Compare language when version is changed. */
$this->translate->compare();
$itemCount = $this->translate->getLangItemCount();
$statistics = $this->translate->getLangStatistics();
$finishedLangs = $translatingLangs = array();
-1
View File
@@ -164,7 +164,6 @@ class upgrade extends control
}
if(empty($needProcess) or $processed == 'yes')
{
$this->loadModel('translate')->compare();
$this->loadModel('setting')->updateVersion($this->config->version);
@unlink($this->app->getAppRoot() . 'www/install.php');