Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
restore client install check
Dieser Commit ist enthalten in:
Ursprung
b0d91ccd3c
Commit
cf1e661f5e
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
|
@ -180,6 +180,11 @@ class CustomWizard::Subscription
|
|||
product_slug === "community"
|
||||
end
|
||||
|
||||
# TODO candidate for removal once code that depends on it externally is no longer used.
|
||||
def self.client_installed?
|
||||
defined?(DiscourseSubscriptionClient) == 'constant' && DiscourseSubscriptionClient.class == Module
|
||||
end
|
||||
|
||||
def self.subscribed?
|
||||
new.subscribed?
|
||||
end
|
||||
|
|
Laden …
In neuem Issue referenzieren