Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
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
drupal.org
feeds
Commits
4294987e
Commit
4294987e
authored
14 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#758664: Fix regression introduced with #740962.
parent
646d729b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+5
-0
5 additions, 0 deletions
CHANGELOG.txt
feeds.module
+5
-1
5 additions, 1 deletion
feeds.module
with
10 additions
and
1 deletion
CHANGELOG.txt
+
5
−
0
View file @
4294987e
// $Id$
Feeds 6.x 1.0 Alpha 14, 2010-04-11
----------------------------------
- #758664: Fix regression introduced with #740962.
Feeds 6.x 1.0 Alpha 13, 2010-03-30
----------------------------------
...
...
This diff is collapsed.
Click to expand it.
feeds.module
+
5
−
1
View file @
4294987e
...
...
@@ -292,6 +292,10 @@ function feeds_nodeapi(&$node, $op, $form) {
break
;
case
'insert'
:
case
'update'
:
// A node may not have been validated, make sure $node_feeds is present.
if
(
empty
(
$node_feeds
))
{
$node_feeds
=
$node
->
feeds
;
}
// Add configuration to feed source and save.
$source
=
feeds_source
(
$importer_id
,
$node
->
nid
);
$source
->
addConfig
(
$node_feeds
);
...
...
@@ -307,7 +311,7 @@ function feeds_nodeapi(&$node, $op, $form) {
// Add expiry to schedule, in case this is the first feed of this
// configuration.
feeds_scheduler
()
->
add
(
$importer_id
,
'expire'
);
unset
(
$node_feeds
)
;
$node_feeds
=
NULL
;
break
;
case
'delete'
:
// Remove feed from scheduler and delete source.
...
...
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