You are here

function file_aliases_uninstall in File Aliases 6

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

Implements hook_uninstall().

File

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

Code

function file_aliases_uninstall() {
  db_drop_field($ret = array(), 'filefield_paths', 'filealias');
  db_query("DELETE FROM {url_alias} WHERE src LIKE '%s'", 'filefield_paths/alias/%');
}