From f9ab91efa7c2911503867ec6450f808dc11e6acf Mon Sep 17 00:00:00 2001 From: koogua Date: Sun, 3 Oct 2021 09:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3websocket=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Api/Controllers/Controller.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/Http/Api/Controllers/Controller.php b/app/Http/Api/Controllers/Controller.php index c2f85e17..f9677c20 100644 --- a/app/Http/Api/Controllers/Controller.php +++ b/app/Http/Api/Controllers/Controller.php @@ -57,16 +57,4 @@ class Controller extends \Phalcon\Mvc\Controller return $auth->getCurrentUser(); } - protected function getSiteInfo() - { - return $this->getSettings('site'); - } - - protected function getSettings($section) - { - $appService = new AppService(); - - return $appService->getSettings($section); - } - }