| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace WP_Defender; |
| 4 | 4 | |
| 5 | 5 | use WP_Defender\Traits\Defender_Bootstrap; |
| 6 | -use WP_Defender\Traits\Pro_Database_Tables; | |
| 7 | 6 | use WP_Defender\Component\Rate; |
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Class Bootstrap |
| @@ -12,9 +11,8 @@ | ||
| 12 | 11 | * @package WP_Defender |
| 13 | 12 | */ |
| 14 | 13 | class Bootstrap { |
| 15 | 14 | use Defender_Bootstrap; |
| 16 | - use Pro_Database_Tables; | |
| 17 | 15 | |
| 18 | 16 | /** |
| 19 | 17 | * Activation. |
| 20 | 18 | */ |
| @@ -19,9 +17,8 @@ | ||
| 19 | 17 | * Activation. |
| 20 | 18 | */ |
| 21 | 19 | public function activation_hook(): void { |
| 22 | 20 | $this->activation_hook_common(); |
| 23 | - $this->create_table_audit_log(); | |
| 24 | 21 | $this->set_free_installation_timestamp(); |
| 25 | 22 | } |
| 26 | 23 | |
| 27 | 24 | /** |
| @@ -53,6 +50,7 @@ | ||
| 53 | 50 | */ |
| 54 | 51 | public function deactivation_hook(): void { |
| 55 | 52 | $this->deactivation_hook_common(); |
| 56 | 53 | wp_clear_scheduled_hook( 'audit_clean_up_logs' ); |
| 54 | + wp_clear_scheduled_hook( 'wpdef_quarantine_delete_expired' ); | |
| 57 | 55 | } |
| 58 | 56 | } |