images
6 years ago
class-firebase-authentication-activator.php
6 years ago
class-firebase-authentication-deactivator.php
6 years ago
class-firebase-authentication-i18n.php
6 years ago
class-firebase-authentication-loader.php
6 years ago
class-firebase-authentication.php
6 years ago
index.php
6 years ago
class-firebase-authentication-deactivator.php
50 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Fired during plugin deactivation |
| 5 | * |
| 6 | * @link https://miniorange.com |
| 7 | * @since 1.0.0 |
| 8 | * |
| 9 | * @package Firebase_Authentication |
| 10 | * @subpackage Firebase_Authentication/includes |
| 11 | */ |
| 12 | |
| 13 | /** |
| 14 | * Fired during plugin deactivation. |
| 15 | * |
| 16 | * This class defines all code necessary to run during the plugin's deactivation. |
| 17 | * |
| 18 | * @since 1.0.0 |
| 19 | * @package Firebase_Authentication |
| 20 | * @subpackage Firebase_Authentication/includes |
| 21 | * @author miniOrange <info@miniorange.com> |
| 22 | */ |
| 23 | class MO_Firebase_Authentication_Deactivator { |
| 24 | |
| 25 | /** |
| 26 | * Short Description. (use period) |
| 27 | * |
| 28 | * Long Description. |
| 29 | * |
| 30 | * @since 1.0.0 |
| 31 | */ |
| 32 | public static function deactivate() { |
| 33 | do_action( 'clear_os_cache' ); |
| 34 | delete_option( 'host_name' ); |
| 35 | delete_option(' mo_firebase_authentication_lv' ); |
| 36 | delete_option(' mo_firebase_authentication_lk' ); |
| 37 | delete_option( 'mo_firebase_authentication_new_registration' ); |
| 38 | delete_option( 'mo_firebase_authentication_admin_phone' ); |
| 39 | delete_option( 'mo_firebase_authentication_verify_customer' ); |
| 40 | delete_option( 'mo_firebase_authentication_admin_customer_key' ); |
| 41 | delete_option( 'mo_firebase_authentication_admin_api_key' ); |
| 42 | delete_option( 'mo_firebase_authentication_new_customer' ); |
| 43 | delete_option( 'mo_firebase_authentication_customer_token' ); |
| 44 | delete_option( 'mo_firebase_auth_message' ); |
| 45 | delete_option( 'mo_firebase_authentication_registration_status' ); |
| 46 | delete_option( 'mo_firebase_authentication_current_plugin_version' ); |
| 47 | } |
| 48 | |
| 49 | } |
| 50 |