| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly |
| 4 |
} |
| 5 |
|
| 6 |
|
| 7 |
/** |
| 8 |
* Fired during plugin activation |
| 9 |
* |
| 10 |
* @link http://mlsimport.com/ |
| 11 |
* @since 1.0.0 |
| 12 |
* |
| 13 |
* @package Mlsimport |
| 14 |
* @subpackage Mlsimport/includes |
| 15 |
*/ |
| 16 |
|
| 17 |
/** |
| 18 |
* Fired during plugin activation. |
| 19 |
* |
| 20 |
* This class defines all code necessary to run during the plugin's activation. |
| 21 |
* |
| 22 |
* @since 1.0.0 |
| 23 |
* @package Mlsimport |
| 24 |
* @subpackage Mlsimport/includes |
| 25 |
* @author MlsImport <office@mlsimport.com> |
| 26 |
*/ |
| 27 |
class Mlsimport_Activator { |
| 28 |
|
| 29 |
|
| 30 |
/** |
| 31 |
* Short Description. (use period) |
| 32 |
* |
| 33 |
* Long Description. |
| 34 |
* |
| 35 |
* @since 1.0.0 |
| 36 |
*/ |
| 37 |
public static function activate() { |
| 38 |
delete_transient( 'mlsimport_plugin_data_schema' ); |
| 39 |
mlsimport_create_activity_table(); |
| 40 |
} |
| 41 |
} |
| 42 |
|