aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-09 12:20:11 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-09 12:20:11 +0000
commit36ffbae8e7cf4e8318860d8fc2ff7509d9c5fd03 (patch)
tree3466f5295afb81ae2e1e2be9ad7f6f3d95939581 /engine/lib
parent096dba7e9bcd1924b7db75a9142350c2d6cdcf06 (diff)
downloadelgg-36ffbae8e7cf4e8318860d8fc2ff7509d9c5fd03.tar.gz
elgg-36ffbae8e7cf4e8318860d8fc2ff7509d9c5fd03.tar.bz2
added a comment to explain why the call to elgg_add_admin_widgets() in the upgrade script has parameters like it does
git-svn-id: http://code.elgg.org/elgg/trunk@8958 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php b/engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php
index 77cb2d502..592adb403 100644
--- a/engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php
+++ b/engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php
@@ -8,5 +8,6 @@
$admins = elgg_get_admins(array('limit' => 0));
foreach ($admins as $admin) {
+ // call the admin handler for the make_admin event
elgg_add_admin_widgets('make_admin', 'user', $admin);
}