summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-21 11:50:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-21 11:50:42 -0700
commitb528fbde579b76cdab098a0319fdfbded93bee4a (patch)
tree90563682a113797d2d97a6baceb36c066822f6b6 /modules/gallery/helpers
parentf04177f138df71e6317073b12b754a1c32d0c523 (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.php2
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) {