Get data in one place for group homepage & "copy a page" (bug #845282)
authorRichard Mansfield <richard.mansfield@catalyst.net.nz>
Tue, 6 Sep 2011 05:33:01 +0000 (17:33 +1200)
committerRichard Mansfield <richard.mansfield@catalyst.net.nz>
Mon, 12 Sep 2011 05:59:10 +0000 (17:59 +1200)
commit76516823c53b5627363d3a549e97c325cb7c43ce
treed31e81fa0621ea07f4dd80c736fd02dd4da75c69
parentca0201de07dafaa120feb7337b3f466d5bc0f47e
Get data in one place for group homepage & "copy a page" (bug #845282)

These two pages both display the same data, so it makes sense to
fetch it in a single function.  This also reduces the number of
display_name queries and thumb.php requests for group admins.

Change-Id: Ie10caa60d560337fe0302690e629d1ac8196db6f
Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
htdocs/blocktype/groupinfo/lib.php
htdocs/group/groupinfo.json.php
htdocs/lib/group.php
htdocs/theme/raw/templates/group/info.tpl