public function action_database() { Assets::package('ace'); $this->set_title(__('Database')); $this->template->content = View::factory('update/database', array('actions' => Update::check_database(FALSE))); }
public function get_check() { $this->response(array('version' => Update::check_version() === Update::VERSION_OLD ? Update::remote_version() : FALSE, 'database' => strlen(Update::check_database()))); }