Projet

Général

Profil

Révision 7942932f

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/votingapi/votingapi.module
131 131
    $votes = array($votes);
132 132
  }
133 133

  
134
  // Allow other modules to modify or unset/remove votes.
135
  // module_invoke_all does not allow passing variables by reference
136
  // http://api.drupal.org/api/drupal/includes%21module.inc/function/module_invoke_all/7#comment-35778
137
  drupal_alter(array('votingapi_preset_votes'), $votes);
134 138
  // Handle clearing out old votes if they exist.
135 139
  if (!isset($criteria)) {
136 140
    // If the calling function didn't explicitly set criteria for vote deletion,

Formats disponibles : Unified diff