From fc8333d757b4cfa5475c1693025b004780f99655 Mon Sep 17 00:00:00 2001 From: DesperadoJ <38433236+DesperadoJ@users.noreply.github.com> Date: Sun, 23 Feb 2020 22:15:31 +0800 Subject: [PATCH] Refine code Remove duplicates --- app/Http/Controllers/Client/ClientController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index ca6fa84c..07348b53 100755 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -33,9 +33,6 @@ class ClientController extends Controller if (strpos($_SERVER['HTTP_USER_AGENT'], 'Quantumult') !== false) { die($this->quantumult($user, $server)); } - if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clashforandroid') !== false) { - die($this->clash($user, $server)); - } if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'clash') !== false) { die($this->clash($user, $server)); }