function path_admin_delete

6.x path.module path_admin_delete($pid = 0)

Post-confirmation; delete an URL alias.

1 call to path_admin_delete()
path_admin_delete_confirm_submit in drupal-6.x/modules/path/path.admin.inc
Execute URL alias deletion

File

drupal-6.x/modules/path/path.module, line 79
Enables users to rename URLs.

Code

function path_admin_delete($pid = 0) {
  db_query('DELETE FROM {url_alias} WHERE pid = %d', $pid);
  drupal_set_message(t('The alias has been deleted.'));
}