/[drupal]/contributions/modules/adminrole/adminrole.module
ViewVC logotype

Diff of /contributions/modules/adminrole/adminrole.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.8.2.3, Wed Aug 27 07:18:17 2008 UTC revision 1.2.2.8.2.4, Wed Jan 7 20:16:52 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: adminrole.module,v 1.2.2.8.2.2 2008/08/06 17:36:34 jacobsingh Exp $  // $Id: adminrole.module,v 1.2.2.8.2.3 2008/08/27 07:18:17 jacobsingh Exp $
3    
4  /** @file  /** @file
5   * adminrole:   * adminrole:
# Line 48  function adminrole_update_perms() { Line 48  function adminrole_update_perms() {
48        return;        return;
49      }      }
50      $perms = array();      $perms = array();
51      foreach (module_list(FALSE, FALSE, TRUE) as $module) {      foreach (module_list(TRUE, FALSE, TRUE) as $module) {
52        if ($permissions = module_invoke($module, 'perm')) {        if ($permissions = module_invoke($module, 'perm')) {
53          $perms = array_merge($perms, $permissions);          $perms = array_merge($perms, $permissions);
54        }        }

Legend:
Removed from v.1.2.2.8.2.3  
changed lines
  Added in v.1.2.2.8.2.4

  ViewVC Help
Powered by ViewVC 1.1.2