uninstall.php 806 Bytes
Newer Older
1 2 3 4
<?php

/*
 +--------------------------------------------------------------------+
5
 | Copyright CiviCRM LLC. All rights reserved.                        |
6
 |                                                                    |
7 8 9
 | This work is published under the GNU AGPLv3 license with some      |
 | permitted exceptions and without any warranty. For full license    |
 | and copyright information, see https://civicrm.org/licensing       |
10 11 12 13 14 15
 +--------------------------------------------------------------------+
*/

/**
 *
 * @package CRM
16
 * @copyright CiviCRM LLC https://civicrm.org/licensing
17 18 19 20
 *
 */


21
// Kick out if uninstall not called from WordPress
22 23 24
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit(); }


25
// Delete options that this plugin has set
26
delete_option( 'civicrm_activation_in_progress' );