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!

Comments

drupalnesia’s picture

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.

drupalnesia’s picture

Status: Active » Closed (fixed)

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

rbjarnason’s picture

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

beracun’s picture

Version: 5.x-1.6 » 5.x-1.15

hallo mjolnir
i have the same problem with you
im trying to uninstall but when i reinstall the modules the content showing again
even when im clearing cache using devel modules and run cron job, its still same
i have fix this
go to files folder and find newsflash txt file, mine is tickercontent1.txt
open it and remove the content you want
good luck