mirror of
https://github.com/lubuntu-team/lubuntu.me.git
synced 2025-02-22 07:51:06 +00:00
45 lines
2.3 KiB
PHP
45 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (C) 2014-2017 ServMask Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
|
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
|
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
|
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
|
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
|
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
|
*/
|
|
|
|
// Include plugin bootstrap file
|
|
require_once dirname( __FILE__ ) .
|
|
DIRECTORY_SEPARATOR .
|
|
'all-in-one-wp-migration.php';
|
|
|
|
/**
|
|
* Trigger Uninstall process only if WP_UNINSTALL_PLUGIN is defined
|
|
*/
|
|
if ( defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
global $wpdb, $wp_filesystem;
|
|
|
|
// Delete any options or other data stored in the database here
|
|
delete_option( AI1WM_URL_IP );
|
|
delete_option( AI1WM_URL_ADAPTER );
|
|
delete_option( AI1WM_SECRET_KEY );
|
|
delete_option( AI1WM_AUTH_USER );
|
|
delete_option( AI1WM_AUTH_PASSWORD );
|
|
delete_option( AI1WM_STATUS );
|
|
}
|