From 8a789b9fa209f55ff8138dbbe16739779712dc62 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 22 Jul 2014 01:05:04 +0000 Subject: [PATCH] * code for task #1978. --- module/common/control.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/module/common/control.php b/module/common/control.php index 8026803d10..af47345f04 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -55,25 +55,6 @@ class common extends control } } - /** - * Check upgrade's status file is ok or not. - * - * @access public - * @return void - */ - public function checkUpgradeStatus() - { - $statusFile = $this->app->getAppRoot() . 'www' . $this->pathFix . 'ok'; - if(!file_exists($statusFile) or time() - filemtime($statusFile) > 3600) - { - $this->app->loadLang('upgrade'); - echo ""; - echo "
"; - printf($this->lang->upgrade->setStatusFile, $statusFile, $statusFile, $statusFile); - die('
'); - } - } - /** * Check the user has permisson of one method of one module. *