| @@ -13,17 +13,8 @@ | ||
| 13 | 13 | jet_form_builder()->register_autoloader(); |
| 14 | 14 | |
| 15 | 15 | add_action( 'plugins_loaded', 'jet_form_builder_init' ); |
| 16 | 16 | |
| 17 | - // we install this very early, because it could be needed in activation hook | |
| 18 | - $admin_module = new JFB_Modules\Admin\Module(); | |
| 19 | - jet_form_builder()->get_modules()->install( $admin_module ); | |
| 20 | - | |
| 21 | - register_activation_hook( | |
| 22 | - JET_FORM_BUILDER__FILE__, | |
| 23 | - array( $admin_module, 'on_plugin_activate' ) | |
| 24 | - ); | |
| 25 | - | |
| 26 | 17 | return; |
| 27 | 18 | } |
| 28 | 19 | |
| 29 | 20 | function jet_form_builder_print_notice() { |