From e0d584126a43c115a409ed88277866195a69c0ed Mon Sep 17 00:00:00 2001 From: nanaya Date: Wed, 11 Dec 2024 18:22:44 +0900 Subject: [PATCH] Remove unused helper --- app/helpers.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/helpers.php b/app/helpers.php index 5258929f7f3..bff4c134915 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -594,11 +594,6 @@ function max_offset($page, $limit) return max(0, min($offset, $GLOBALS['cfg']['osu']['pagination']['max_count'] - $limit)); } -function mysql_escape_like($string) -{ - return addcslashes($string, '%_\\'); -} - function oauth_token(): ?App\Models\OAuth\Token { return Request::instance()->attributes->get(App\Http\Middleware\AuthApi::REQUEST_OAUTH_TOKEN_KEY);