Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
2ee8ab53
Commit
2ee8ab53
authored
Jul 04, 2016
by
Ghada El-Zoghbi
Committed by
Gerrit Code Review
Jul 04, 2016
Browse files
Merge "Bug 1597549: Ignore profile page in site pages share list"
parents
4ea42ba9
f36410ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
2ee8ab53
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment