Commit 4984b0d9 authored by moshe weitzman's avatar moshe weitzman

Remove Drush5 dependant code.

parent 12f99357
......@@ -101,7 +101,12 @@ function drush_devel_download() {
* Implements drush_MODULE_post_COMMAND().
*/
function drush_devel_post_pm_enable() {
$extensions = pm_parse_arguments(func_get_args());
$extensions = func_get_args();
// Deal with comma delimited extension list.
if (strpos($extensions[0], ',') !== FALSE) {
$extensions = explode(',', $extensions[0]);
}
if (in_array('devel', $extensions) && !drush_get_option('skip')) {
drush_devel_download();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment