Quote:
Originally Posted by GoTTi
getting problems with this after uninstall. wont remove itself, and it wont overwrite itself to reinstall.
what do i need to remove from my mysql db to completely remove this mod from my forum?
|
I am guessing you updated from .1 along the way?
uninstall code for the mod should have this next to .1 (product manager -> edit)
Code:
$query = "ALTER TABLE ". TABLE_PREFIX . "user DROP COLUMN 'casino_cash'";
$db->query($query);
$query = "DROP table casino_settings";
$db->query($query);
$query = "DROP table casino_vidpok_dealt";
$db->query($query);
$query = "DROP table casino_blackjack_dealt";
$db->query($query);
$query = "DROP table casino_sb_groups";
$db->query($query);
$query = "DROP table casino_sb_events";
$db->query($query);
$query = "DROP table casino_sb_outcomes";
$db->query($query);
$query = "DROP table casino_sb_bets";
$db->query($query);
$query = "DROP table casino_bet_stats";
$db->query($query);
$query = "DROP table casino_lotto_tickets";
$db->query($query);
$query = "DROP table casino_lotto_draw";
$db->query($query);
If you want to do it manually all of the tables that start with "casino_" as well as the casino_cash field from the user table need to be removed.