You are here

function workspace_delete in Workspace 6

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

Menu callback. Redirect user to delete node.

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

File

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

Code

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