Projet

Général

Profil

Révision 4444412d

Ajouté par Julien Enselme il y a environ 10 ans

Update drupal 7.27 -> 7.28

Voir les différences:

drupal7/modules/user/user.module
737 737
 *   An array whose keys are the role IDs of interest, such as $user->roles.
738 738
 *
739 739
 * @return
740
 *   An array indexed by role ID. Each value is an array whose keys are the
741
 *   permission strings for the given role ID.
740
 *   If $roles is a non-empty array, an array indexed by role ID is returned.
741
 *   Each value is an array whose keys are the permission strings for the given
742
 *   role ID. If $roles is empty nothing is returned.
742 743
 */
743 744
function user_role_permissions($roles = array()) {
744 745
  $cache = &drupal_static(__FUNCTION__, array());

Formats disponibles : Unified diff