From: cash Date: Sat, 9 Apr 2011 12:20:11 +0000 (+0000) Subject: added a comment to explain why the call to elgg_add_admin_widgets() in the upgrade... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=36ffbae8e7cf4e8318860d8fc2ff7509d9c5fd03;p=lorea%2Felgg.git 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 --- 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); }