Skip to content

Commit 3bbee89

Browse files
committed
DEV: Remove unnecessary require
As we’re upgrading Discourse to Rails 7+, we’re also renaming and moving some files to better follow Rails conventions on that matter. The current `require_dependency` call prevents us to do that and is not necessary as the file referenced here is part of the autoload path.
1 parent 4073efa commit 3bbee89

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugin.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# authors: Robin Ward
77
# url: https://github.com/discourse/discourse-oauth2-basic
88

9-
require_dependency 'auth/oauth2_authenticator.rb'
10-
119
enabled_site_setting :oauth2_enabled
1210

1311
class ::OmniAuth::Strategies::Oauth2Basic < ::OmniAuth::Strategies::OAuth2

0 commit comments

Comments
 (0)