| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
function topichubs_most_recent_install() { |
function topichubs_most_recent_install() { |
| 4 |
// set weigth to higher than the views module |
// set weigth to higher than the views module |
| 5 |
db_query("UPDATE {system} SET weight = 11 WHERE name = 'topichubs_most_recent'"); |
db_query("UPDATE {system} SET weight = 11 WHERE name = 'topichubs_most_recent'"); |
| 6 |
} |
} |
| 7 |
|
|
| 8 |
function topichubs_most_recent_update_6000() { |
function topichubs_most_recent_update_6000() { |
| 9 |
$ret = array(); |
$ret = array(); |
| 10 |
$ret[] = update_sql("UPDATE {system} SET weight = 11 WHERE name = 'topichubs_most_recent'"); |
$ret[] = update_sql("UPDATE {system} SET weight = 11 WHERE name = 'topichubs_most_recent'"); |
| 11 |
return $ret; |
return $ret; |
| 12 |
} |
} |
| 13 |
|
|