function follow_install in Follow 7.2
Same name and namespace in other branches
- 5 follow.install \follow_install()
- 6 follow.install \follow_install()
- 7 follow.install \follow_install()
Implements hook_install().
File
- ./
follow.install, line 11 - Follow module's install and uninstall code.
Code
function follow_install() {
// Add a default link to this site's node RSS feed.
db_insert('follow_links')
->fields(array(
'name' => 'this-site',
'path' => 'rss.xml',
'options' => 'a:0:{}',
'uid' => 0,
'weight' => 0,
))
->execute();
// Save the initial CSS.
follow_save_css();
}