← All changes
|
backend/src/Services/InstallActions/ActivationNewSiteMultisite.php
+1
-0
1.1
→
1.5
View file →
| @@ -32,8 +32,9 @@ | ||
| 32 | 32 | if (defined('IVYFORMS_PLUGIN_SLUG') && is_plugin_active_for_network(IVYFORMS_PLUGIN_SLUG)) { |
| 33 | 33 | switch_to_blog($siteId); |
| 34 | 34 | //Create database table if not exists |
| 35 | 35 | ActivationDatabaseHook::init(); |
| 36 | + ActivationCapabilitiesHook::ensureAdministratorCaps(); | |
| 36 | 37 | restore_current_blog(); |
| 37 | 38 | } |
| 38 | 39 | } |
| 39 | 40 | } |