Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 10:40: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"
|
product_slug === "community"
|
||||||
end
|
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?
|
def self.subscribed?
|
||||||
new.subscribed?
|
new.subscribed?
|
||||||
end
|
end
|
||||||
|
|
Laden …
In neuem Issue referenzieren