PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.0
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
← All changes | app/Http/Controllers/AdminController.php +6 -3 2.9.12.10.0 View file →
@@ -218,11 +218,14 @@
218 218 $data = [
219 219 'push_settings' => Utility::getPushNotificationSettings(),
220 220 'push_available' => PushNotificationModule::isFluentNotifyActive(),
221 221 'push_setup' => [
222 - 'state' => PushNotificationModule::getSetupState(),
223 - 'settings_url' => PushNotificationModule::getSettingsUrl(),
224 - 'can_install' => current_user_can('install_plugins')
222 + 'state' => PushNotificationModule::getSetupState(),
223 + 'settings_url' => PushNotificationModule::getSettingsUrl(),
224 + 'can_install' => current_user_can('install_plugins'),
225 + 'can_activate' => current_user_can('activate_plugins'),
226 + 'has_installer' => (bool)has_action('fluent_community/install_fluent_notify_plugin'),
227 + 'learn_more_url' => 'https://fluentnotify.com'
225 228 ]
226 229 ];
227 230
228 231 return apply_filters('fluent_community/push_settings_api_response', $data, $request->all());