function pm_release_recommended

8.0.x updatestatus.pm.inc pm_release_recommended(&$project)
6.x updatestatus.pm.inc pm_release_recommended(&$project)
7.x updatestatus.pm.inc pm_release_recommended(&$project)
3.x updatecode.pm.inc pm_release_recommended(&$project)
4.x updatecode.pm.inc pm_release_recommended(&$project)
5.x updatecode.pm.inc pm_release_recommended(&$project)
master updatestatus.pm.inc pm_release_recommended(&$project)

Set a release to a recommended version (if available), and set as updateable.

3 calls to pm_release_recommended()
pm_update_filter in commands/pm/update_info/drupal.inc
pm_update_filter in commands/pm/update_info/drupal_6.inc
pm_update_filter in commands/pm/update_info/drupal_5.inc

File

commands/pm/updatecode.pm.inc, line 576

Code

function pm_release_recommended(&$project) {
  if (isset($project['recommended'])) {
    $project['candidate_version'] = $project['recommended'];
    $project['updateable'] = TRUE;
  }
}