Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
wcms-openscholar
uw_virtual_site_homepage
Commits
034a360b
Commit
034a360b
authored
Sep 22, 2021
by
Eric Bremner
Browse files
ISTWCMS-4980: removing unused code
parent
d0c77cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
uw_virtual_site_homepage.module
View file @
034a360b
...
@@ -153,14 +153,6 @@ function uw_virtual_site_homepage_page_alter(&$page) {
...
@@ -153,14 +153,6 @@ function uw_virtual_site_homepage_page_alter(&$page) {
$index
=
0
;
$index
=
0
;
$continue
=
TRUE
;
$continue
=
TRUE
;
if
(
isset
(
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
0
][
'#markup'
]))
{
$site_links
=
_uw_virtual_site_homepage_get_site_links
();
if
(
isset
(
$site_links
[
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
0
][
'#markup'
]]))
{
$site_link
=
$site_links
[
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
0
][
'#markup'
]];
$page
[
'uw-virtual-site-homepage'
][
'uw_scholar_row'
][
'site_link'
]
=
$site_link
;
}
}
// If there are banners, process them.
// If there are banners, process them.
if
(
isset
(
$page
[
'uw-virtual-site-homepage'
][
'field_uw_homepage_banners'
][
$index
]))
{
if
(
isset
(
$page
[
'uw-virtual-site-homepage'
][
'field_uw_homepage_banners'
][
$index
]))
{
...
...
Write
Preview
Supports
Markdown
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