Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.1, Thu Jan 24 10:09:00 2008 UTC | revision 1.2, Fri Jan 25 07:48:13 2008 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | <?php | <?php |
| 2 | // $Id$ | // $Id: moat.install,v 1.1 2008/01/24 10:09:00 terraces Exp $ |
| 3 | ||
| 4 | /** | /** |
| 5 | * Implementation of hook_install(). | * Implementation of hook_install(). |
| # | Line 25 function moat_install() { | Line 25 function moat_install() { |
| 25 | */ | */ |
| 26 | function moat_uninstall() { | function moat_uninstall() { |
| 27 | db_query('DROP TABLE {moat_meanings}'); | db_query('DROP TABLE {moat_meanings}'); |
| db_query("DELETE FROM {node} WHERE type = 'forum'"); | ||
| 28 | variable_del('moat_key'); | variable_del('moat_key'); |
| 29 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |