Skip to content

Commit

Permalink
Merge pull request #11739 from nanaya/unused-helper
Browse files Browse the repository at this point in the history
Remove unused helper
notbakaneko authored Dec 11, 2024
2 parents 212a4b1 + e0d5841 commit a1ab778
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/helpers.php
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit a1ab778

Please sign in to comment.