From a465d2f48992a9e2562e2ff54590f4f6505560b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 28 Feb 2022 14:40:13 +0800 Subject: [PATCH] modify plugin name --- function.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/function.php b/function.php index 11ce665f..13ff8505 100644 --- a/function.php +++ b/function.php @@ -917,26 +917,6 @@ if (!function_exists('interval')) { } -if (!function_exists('duplicate')) { - - - /** - * @param string $className - * @return mixed - * @throws ReflectionException - */ - function duplicate(string $className): mixed - { - $class = di($className); - $clone = clone $class; - if (method_exists($clone, 'clear')) { - $clone->clear(); - } - return $clone; - } - -} - if (!function_exists('sweep')) { /**