diff --git a/module/install/model.php b/module/install/model.php index 4d4d302c96..230a75db1c 100644 --- a/module/install/model.php +++ b/module/install/model.php @@ -51,24 +51,6 @@ class installModel extends model return PHP_VERSION; } - /** - * Get latest release. - * - * @access public - * @return string or bool - */ - public function getLatestRelease() - { - if(!function_exists('json_decode')) return false; - $result = file_get_contents('https://www.zentao.net/misc-getlatestrelease.json'); - if($result) - { - $result = json_decode($result); - if(isset($result->release) and $this->config->version != $result->release->version) return $result->release; - } - return false; - } - /** * Check php version. *