ajax_newsflash doesn't uninstall newsflash content type...

MichaelCole - June 27, 2008 - 07:09
Project:AJAX Newsflash
Version:5.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Add this to ajax_newsflash.install

function ajax_newsflash_uninstall() {
db_query("DROP TABLE {content_type_newsflash}");
db_query("DELETE FROM {node_type} where type='newsflash'");
db_query("DELETE FROM {variable} WHERE name = 'node_options_newsflash'");
}

Sweet!

#1

Drupal-id.com - June 28, 2008 - 09:07

this will be added to next version since we now extend AJAX Newsflash to handle 3 Newsflash blocks.
so, in the next version we will have newsflash1, newsflash2 and newsflash3.

#2

Drupal-id.com - August 28, 2008 - 04:11
Status:active» closed

Now uninstall available. Try 5.x-1.10 which including automatic update (no need to run crob job anymore).

#3

mjolnir - September 29, 2008 - 01:13

Have just installed the newest version 5.x-1.15 and wanted to uninstall because it wasn't what I was looking for. This has been nothing but a pain in the a$$ to remove. IF the module is uninstalled and removed the content type keeps showing up!! Also if you do a clean install and re initiate the module all the old content which I deleted keeps showing up what gives???
Right now I am in the database trying to get rid of this thing. Any help would be appreciated

 
 

Drupal is a registered trademark of Dries Buytaert.