You are here

mp3player.install in MP3 Player 8

Same filename and directory in other branches
  1. 6.2 mp3player.install
  2. 6 mp3player.install
  3. 7.2 mp3player.install

The install file for MP3 Player.

File

mp3player.install
View source
<?php

/**
 * @file
 * The install file for MP3 Player.
 */

/**
 * Implementation of hook_install().
 */
function mp3player_install() {

  //Do Nothing
}

/**
 * Implementation of hook_uninstall().
 */
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');
}

Functions

Namesort descending Description
mp3player_install Implementation of hook_install().
mp3player_uninstall Implementation of hook_uninstall().