Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Thu Sep 29, 2005 11:38 am Reply with quote

I want to remove some modules, along with their sql tables.
Is there a way to find the exact tables to be removed along with the module itself?
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Thu Sep 29, 2005 2:57 pm Reply with quote

Hmmmm. Be careful. Backup everything you touch, just in case.

Usually, if you look at all the php files in the modules/MODULE_TO_BE_REMOVED/ folder and search for sql_ , you will find all references to any table being used. Now, obviously there are tables that you would not remove, like $prefix."_users". If you look in the nuke.sql file that came with your install you will see the core nuke tables. Leave those alone. Any other table is probably unique to your module and safe for removal. If you have doubts you can either ask or rename the table through phpMyAdmin after you remove the files and see if you start getting any errors. That's what I usually do.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©