Skip to content

Commit

Permalink
#14
Browse files Browse the repository at this point in the history
- Remove maintenance-deactivator
- Remove maintenance-activator
- Remove references to those files/classes
  • Loading branch information
smileBeda committed Jun 21, 2021
1 parent 8aaf521 commit 98aa296
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 93 deletions.
36 changes: 0 additions & 36 deletions includes/class-tkt-maintenance-activator.php

This file was deleted.

36 changes: 0 additions & 36 deletions includes/class-tkt-maintenance-deactivator.php

This file was deleted.

21 changes: 0 additions & 21 deletions tkt-maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,6 @@
*/
define( 'TKT_MAINTENANCE_VERSION', '1.0.0' );

/**
* The code that runs during plugin activation.
* This action is documented in includes/class-tkt-maintenance-activator.php
*/
function activate_tkt_maintenance() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-tkt-maintenance-activator.php';
Tkt_Maintenance_Activator::activate();
}

/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-tkt-maintenance-deactivator.php
*/
function deactivate_tkt_maintenance() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-tkt-maintenance-deactivator.php';
Tkt_Maintenance_Deactivator::deactivate();
}

register_activation_hook( __FILE__, 'activate_tkt_maintenance' );
register_deactivation_hook( __FILE__, 'deactivate_tkt_maintenance' );

/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
Expand Down

0 comments on commit 98aa296

Please sign in to comment.