public function preExecute() { if ($this->need_mysql && !($this->telegram->isDbEnabled() && DB::isDbConnected())) { return $this->executeNoDb(); } return $this->execute(); }