You are here

function nodesymlinks_enable in NodeSymlinks 6

Same name and namespace in other branches
  1. 7 nodesymlinks.install \nodesymlinks_enable()

Implementation of hook_enable().

File

./nodesymlinks.install, line 77
Installation functions for NodeSymlinks.

Code

function nodesymlinks_enable() {

  // Look for stored menu links to recreate
  $db_results = db_query("SELECT * FROM {nodesymlinks_link_storage}");
  while ($result = db_fetch_array($db_results)) {
    _nodesymlinks_restore_menu_link($result);
  }
}