You are here

function workspace_delete in Workspace 7

Same name and namespace in other branches
  1. 5 workspace.module \workspace_delete()
  2. 6 workspace.module \workspace_delete()

Menu callback. Redirect user to delete node.

1 string reference to 'workspace_delete'
workspace_menu in ./workspace.module
Implements hook_menu().

File

./workspace.module, line 621
Presents a user-centric view of content.

Code

function workspace_delete($nid) {

  #$nid = intval(arg(2));
  if (is_numeric($nid)) {
    drupal_goto('node/' . $nid . '/delete');
  }
}