ODLinks Utilities
';
switch ($_GET["odlinks_admin_action"]){
default:
case "list":
?>
Click Here to finish the uninstallation and "ODLinks" will be deactivated automatically.';
$exit = TRUE;
break;
}
if ($msg!=''){
?>
Uninstall
Just make sure you create backups before you drops the Open Directory Links Database tables.
PLEASE NOTE: To remove ODLinks you must deactivate it via the Plugins page BEFORE removing the odlinks folder.
Uninstall ODLinks from the Database?
query("DROP TABLE {$table_prefix}odcategories, {$table_prefix}odlinks, {$table_prefix}odnew_links, {$table_prefix}odpages, {$table_prefix}odbanned");
$wpdb->query("DELETE FROM {$table_prefix}posts WHERE post_title = '[[ODLINKS]]'");
$wpdb->query("DELETE FROM {$table_prefix}options WHERE option_name = 'odlinksdata'");
echo 'Uninstall Successful!
';
}
?>