| 1 |
<?php |
| 2 |
/** |
| 3 |
* WP-PostRatings uninstall.php |
| 4 |
* |
| 5 |
* WordPress loads this file, and nothing else of the plugin, when the plugin is |
| 6 |
* deleted. Everything it does lives beside the installer it undoes, so the two |
| 7 |
* cannot drift apart and the work is reachable from the test suite. |
| 8 |
* |
| 9 |
* @package WP-PostRatings |
| 10 |
*/ |
| 11 |
|
| 12 |
defined( 'WP_UNINSTALL_PLUGIN' ) || exit; |
| 13 |
|
| 14 |
require_once __DIR__ . '/includes/class-wp-postratings-options.php'; |
| 15 |
require_once __DIR__ . '/includes/class-wp-postratings-settings.php'; |
| 16 |
require_once __DIR__ . '/includes/class-wp-postratings-install.php'; |
| 17 |
|
| 18 |
WP_PostRatings_Install::uninstall(); |
| 19 |
|