function fivestar_update_6102 in Fivestar 6
Same name and namespace in other branches
- 6.2 fivestar.install \fivestar_update_6102()
Set Fivestar weight to -1 so that it can load before content.module.
File
- ./
fivestar.install, line 130 - Installation file for fivestar module.
Code
function fivestar_update_6102() {
$ret = array();
// This update will already be run as fivestar_update_5701 on Drupal 5.
if (fivestar_update_version() >= 6100) {
$ret[] = update_sql("UPDATE {system} SET weight = -1 WHERE type = 'module' AND name = 'fivestar'");
}
return $ret;
}