Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.1, Thu Mar 13 16:43:11 2008 UTC | revision 1.1.2.1, Thu Mar 13 16:43:11 2008 UTC | |
|---|---|---|
| # | Line 0 | Line 1 |
| 1 | <?php | |
| 2 | // $Id$ | |
| 3 | ||
| 4 | function cleanfeeds_set_module_weight() { | |
| 5 | // We want this module to be called last, so that it really cleans everything, | |
| 6 | // regardless of what other modules have inserted in the feeds | |
| 7 | db_query("UPDATE {system} SET weight = 1000 WHERE name = 'cleanfeeds' AND type = 'module';"); | |
| 8 | } | |
| 9 | ||
| 10 | function cleanfeeds_install() { | |
| 11 | cleanfeeds_set_module_weight(); | |
| 12 | } | |
| 13 | ||
| 14 | function cleanfeeds_update_1() { | |
| 15 | cleanfeeds_set_module_weight(); | |
| 16 | return array(); | |
| 17 | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |