-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
uninstall.php
31 lines (26 loc) · 1007 Bytes
/
uninstall.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| |
| 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 |
+--------------------------------------------------------------------+
*/
/**
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
*
*/
// Kick out if uninstall not called from WordPress.
if (!defined('WP_UNINSTALL_PLUGIN')) {
exit();
}
// Delete options that this plugin has set.
delete_option('civicrm_activation_in_progress');
delete_option('civicrm_rules_flushed');
// TODO: Remove the CiviCRM Base Page(s).
// TODO: Remove the directory/directories that "civicrm.settings.php" lives in.
// TODO: Remove the CiviCRM database(s).