From aa07cd3fb9b93ad93c36d9d42bfcb5d336f57fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 6 May 2021 14:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/function.php b/function.php index c50a7f08..937cb5cf 100644 --- a/function.php +++ b/function.php @@ -458,9 +458,6 @@ if (!function_exists('request')) { */ function request(): Request { - if (!Context::hasContext('request')) { - return new Request(); - } return Context::getContext('request'); }