| Versionen | |
|---|---|
| drupal6 – drupal7 | path_admin_delete($pid = 0) |
Post-confirmation; delete an URL alias.
modules/
<?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.'));
}
?>
Kommentare
Kommentar hinzufügen