Same name in other branches
- 5.0.x advagg.install \advagg_install()
- 6.0.x advagg.install \advagg_install()
- 7.x-2.x advagg.install \advagg_install()
- 8.x-2.x advagg.install \advagg_install()
- 8.x-3.x advagg.install \advagg_install()
- 8.x-4.x advagg.install \advagg_install()
Implements hook_install().
Fichier
-
./
advagg.install, line 50
Code
function advagg_install() {
// Make sure we run last.
// @TODO: Please review the conversion of this statement to the D7 database API syntax.
/* db_query("UPDATE {system} SET weight = 250 WHERE name = 'advagg'") */
db_update('system')->fields(array(
'weight' => 250,
))
->condition('name', 'advagg')
->execute();
}