Skip to content
Snippets Groups Projects
Commit 527eb29c authored by Alex Barth's avatar Alex Barth
Browse files

#728854 Scott Reynolds: Fix ->createItem() fails.

parent 616f2ca8
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
Feeds 6.x 1.0 xxxxx xx, 2010-xx-xx Feeds 6.x 1.0 xxxxx xx, 2010-xx-xx
---------------------------------- ----------------------------------
- #728854 Scott Reynolds: Fix $queue->createItem() fails.
- #707098 alex_b: Improve performance of nodeapi and access checks. - #707098 alex_b: Improve performance of nodeapi and access checks.
- #726012 alex_b: Fix RSS descriptions not being reset in - #726012 alex_b: Fix RSS descriptions not being reset in
common_syndication_parser.inc. common_syndication_parser.inc.
- alex_b: Fix a typo in the return value of process() in FeedsTermProcessor. - alex_b: Fix a typo in the return value of process() in FeedsTermProcessor.
- alex_b: Stop PubSubHubbub from subscribing if it is not enabled. - alex_b: Stop PubSubHubbub from subscribing if it is not enabled.
......
...@@ -199,7 +199,7 @@ class FeedsScheduler implements FeedsSchedulerInterface { ...@@ -199,7 +199,7 @@ class FeedsScheduler implements FeedsSchedulerInterface {
db_query("UPDATE {feeds_schedule} SET scheduled = %d WHERE id = '%s' AND feed_nid = %d AND callback = '%s'", FEEDS_REQUEST_TIME, $job['id'], $job['feed_nid'], $job['callback']); db_query("UPDATE {feeds_schedule} SET scheduled = %d WHERE id = '%s' AND feed_nid = %d AND callback = '%s'", FEEDS_REQUEST_TIME, $job['id'], $job['feed_nid'], $job['callback']);
if (db_affected_rows()) { if (db_affected_rows()) {
if ($this->queue()) { if ($this->queue()) {
if (!$queue->createItem($job)) { if (!$this->queue()->createItem($job)) {
$this->unschedule($job); $this->unschedule($job);
watchdog('FeedsScheduler', 'Error adding item to queue.', WATCHDOG_CRITICAL); watchdog('FeedsScheduler', 'Error adding item to queue.', WATCHDOG_CRITICAL);
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment