diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-21 11:50:42 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-21 11:50:42 -0700 |
commit | b528fbde579b76cdab098a0319fdfbded93bee4a (patch) | |
tree | 90563682a113797d2d97a6baceb36c066822f6b6 /modules/gallery/helpers | |
parent | f04177f138df71e6317073b12b754a1c32d0c523 (diff) |
Change this files to use the API instead of referencing the group tables directly
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index b1ea1f19..10e796fd 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -317,7 +317,7 @@ class gallery_installer { } if ($version == 7) { - $groups = ORM::factory("group")->find_all(); + $groups = Identity::groups(); $permissions = ORM::factory("permission")->find_all(); foreach($groups as $group) { foreach($permissions as $permission) { |