You are here

function mp3player_uninstall in MP3 Player 8

Same name and namespace in other branches
  1. 6.2 mp3player.install \mp3player_uninstall()
  2. 6 mp3player.install \mp3player_uninstall()
  3. 7.2 mp3player.install \mp3player_uninstall()

Implementation of hook_uninstall().

File

./mp3player.install, line 19
The install file for MP3 Player.

Code

function mp3player_uninstall() {

  //Delete set variables from database
  variable_del('mp3player_autostart');
  variable_del('mp3player_loop');
  variable_del('mp3player_animation');
  variable_del('mp3player_remaining');
  variable_del('mp3player_noinfo');
  variable_del('mp3player_initialvolume');
  variable_del('mp3player_buffer');
  variable_del('mp3player_encode');
  variable_del('mp3player_rtl');
  variable_del('mp3player_width');
  variable_del('mp3player_transparentpagebg');
  variable_del('mp3player_pagebg');
  variable_del('mp3player_bg');
  variable_del('mp3player_leftbg');
  variable_del('mp3player_lefticon');
  variable_del('mp3player_voltrack');
  variable_del('mp3player_volslider');
  variable_del('mp3player_rightbg');
  variable_del('mp3player_rightbghover');
  variable_del('mp3player_righticon');
  variable_del('mp3player_righticonhover');
  variable_del('mp3player_loader');
  variable_del('mp3player_track');
  variable_del('mp3player_tracker');
  variable_del('mp3player_border');
  variable_del('mp3player_skip');
  variable_del('mp3player_text');
}