Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_custom_blocks
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_custom_blocks
Commits
0d208706
Commit
0d208706
authored
4 weeks ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-7265: make the comparison be the link instead of the title
parent
80fd009d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!269
ISTWCMS-7265 Make aggregator remove items from the Web Resources feed that don't exist
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_custom_blocks.module
+1
-1
1 addition, 1 deletion
uw_custom_blocks.module
with
1 addition
and
1 deletion
uw_custom_blocks.module
+
1
−
1
View file @
0d208706
...
...
@@ -337,7 +337,7 @@ function uw_custom_blocks_cron() {
foreach
(
$latest_feed_data
->
channel
->
item
as
$latest_item
)
{
// If the current item is in the latest feed data.
if
(
$item
->
get
Title
()
==
(
string
)
$latest_item
->
title
)
{
if
(
$item
->
get
Link
()
==
(
string
)
$latest_item
->
link
)
{
// Set the flag to TRUE.
$item_found
=
TRUE
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment