You are here

function workspace_delete in Workspace 5

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

The deletion menu callback.

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

File

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

Code

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