uninstall.php in WPGlobus trunk, at uninstall.php
| 1 | <?php |
| 2 | /** |
| 3 | * WPGlobus Uninstall |
| 4 | * Deletes options |
| 5 | * @package WPGlobus |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
| 9 | exit(); |
| 10 | } |
| 11 | |
| 12 | /** @global wpdb $wpdb */ |
| 13 | //global $wpdb; |
| 14 | |
| 15 | /** |
| 16 | * Delete options |
| 17 | * Disabled as of 1.3.1: |
| 18 | * @todo Do it only when User sets a special flag in settings. Write code that works on multisite. Think about cleaning all multilingual strings. |
| 19 | */ |
| 20 | //$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE 'wpglobus_option%';" ); |
| 21 | |
| 22 | # --- EOF |
| 23 |