You are here

function drush_getid3_pre_pm_enable in getID3() 7

Same name and namespace in other branches
  1. 8 getid3.drush.inc \drush_getid3_pre_pm_enable()
  2. 6 getid3.drush.inc \drush_getid3_pre_pm_enable()

Implements drush_MODULE_pre_COMMAND().

This automatically downloads the library when the module is being installed.

File

./getid3.drush.inc, line 26
Drush integration for getID3.

Code

function drush_getid3_pre_pm_enable() {
  $modules = func_get_args();
  if (in_array('getid3', $modules)) {
    drush_getid3_download();
  }
}