Commit 2ee8ab53 authored by Ghada El-Zoghbi's avatar Ghada El-Zoghbi Committed by Gerrit Code Review
Browse files

Merge "Bug 1597549: Ignore profile page in site pages share list"

parents 4ea42ba9 f36410ba
...@@ -6171,7 +6171,11 @@ class View { ...@@ -6171,7 +6171,11 @@ class View {
$data = array(); $data = array();
list($data['collections'], $data['views']) = self::get_views_and_collections($owner, $group, $institution); 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 // Remember one representative viewid in each collection
$viewindex = array(); $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