path_admin_delete

Versions
4.6 – 6
path_admin_delete($pid = 0)

Post-confirmation; delete an URL alias.

Code

modules/path/path.module, line 79

<?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.'));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.