You are here

function empty_page_delete_callback in Empty Page 7

Delete an Empty Page callback.

Parameters

int $cid:

Return value

(sql result resource or FALSE)

1 call to empty_page_delete_callback()
empty_page_admin_delete_form_submit in ./empty_page.admin.inc
Form submit handler for deleting an Empty Page callback.

File

./empty_page.module, line 186
Empty Page module A simple empty page solution. Assists in creating empty menu callbacks, mostly used for pages that only consist of blocks.

Code

function empty_page_delete_callback($cid) {
  if (is_numeric($cid)) {
    db_delete('empty_page')
      ->condition('cid', $cid)
      ->execute();
  }
}