From c001c7fe854f5a4f76576313935eb56ee7f36cac Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 23 Mar 2011 02:18:31 +0000 Subject: Fixes #3165 admins get widgets on upgrade - new upgrade creation process super smooth #thanksBrett git-svn-id: http://code.elgg.org/elgg/trunk@8824 36083f99-b078-4883-b0ff-0f9b5a30f544 --- ...11032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php (limited to 'engine/lib/upgrades') 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 new file mode 100644 index 000000000..77cb2d502 --- /dev/null +++ b/engine/lib/upgrades/2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php @@ -0,0 +1,12 @@ + 0)); +foreach ($admins as $admin) { + elgg_add_admin_widgets('make_admin', 'user', $admin); +} -- cgit v1.2.3