Commit f36410ba authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1597549: Ignore profile page in site pages share list



behatnotneeded

Change-Id: I64480575d5bb5bfd53a65c26e766e01ae38df510
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent a1fff727
......@@ -6171,7 +6171,11 @@ class View {
$data = array();
list($data['collections'], $data['views']) = self::get_views_and_collections($owner, $group, $institution);
foreach ($data['views'] as $k => $view) {
if ($view['template'] == self::SITE_TEMPLATE) {
unset($data['views'][$k]);
}
}
// Remember one representative viewid in each collection
$viewindex = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment