You are here

function file_aliases_uninstall in File Aliases 7

Same name and namespace in other branches
  1. 5 file_aliases.install \file_aliases_uninstall()
  2. 6 file_aliases.install \file_aliases_uninstall()

Implements hook_uninstall().

File

./file_aliases.install, line 22
Contains installation functions for the File Aliases module.

Code

function file_aliases_uninstall() {
  db_delete('url_alias')
    ->condition('source', db_like('file_aliases/') . '%', 'LIKE')
    ->execute();
}