Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.1, Tue Feb 26 15:28:39 2008 UTC | revision 1.2, Tue Feb 26 15:39:56 2008 UTC | |
|---|---|---|
| # | Line 0 | Line 1 |
| 1 | <?php | |
| 2 | //$Id$ | |
| 3 | ||
| 4 | /** | |
| 5 | * Implementation of hook_uninstall(). | |
| 6 | */ | |
| 7 | function valuelist_uninstall() { | |
| 8 | //Delete all system variables beginning with 'valuelist_': | |
| 9 | ||
| 10 | $results = db_query("SELECT `name` FROM {variable} WHERE `name` LIKE 'valuelist_%'"); | |
| 11 | while ($row = db_fetch_array($results)) { | |
| 12 | variable_del($row['name']); | |
| 13 | } | |
| 14 | } | |
| 15 | ?> |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |