You are here

function flickr_uninstall in Flickr 5

Same name and namespace in other branches
  1. 6 flickr.install \flickr_uninstall()
  2. 7 flickr.install \flickr_uninstall()

File

./flickr.install, line 28

Code

function flickr_uninstall() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      db_query('DROP TABLE IF EXISTS {flickr_users}');
      break;
    case 'pgsql':
      db_query('DROP TABLE {flickr_users}');
      break;
  }
}