You are here

function rotor_disable in Rotor Banner 7

Same name and namespace in other branches
  1. 6.2 rotor.install \rotor_disable()

Implementation of hook_disable(). Empty the rotor caches.

File

./rotor.install, line 34
Provides install and uninstall functions for rotor.

Code

function rotor_disable() {
  db_query("DELETE FROM {cache_views}");
}