Skip to content

Commit

Permalink
#995740: remove useless code in pm-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Araña Cruz committed Dec 15, 2010
1 parent 7572cff commit dc6f71f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions commands/pm/pm.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1258,9 +1258,7 @@ function _drush_pm_get_releases($requests) {
// Parse out project name and version.
$requests = pm_parse_project_version($requests);

// Get release history for each request and download the project.
$project_types = pm_project_types();
$project_types_xpath = '(value="' . implode('" or value="', $project_types) . '")';
// Get release history for each request.
foreach ($requests as $name => $request) {
$xml = _drush_pm_get_release_history_xml($request);
if (!$xml) {
Expand Down

0 comments on commit dc6f71f

Please sign in to comment.