path_admin_delete

  1. drupal
    1. 4.7
    2. 5 path.module
    3. 6 path.module
Versions
4.7 – 6 path_admin_delete($pid = 0)

Post-confirmation; delete an URL alias.

Code

modules/path.module, line 127

<?php
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.'));
}
?>