From 88f92d3bc3d621edc7aeba6c51f52e7878dea7d2 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Fri, 17 Sep 2010 00:06:22 +0000 Subject: [PATCH] Switch back to using a simple db_query() style select query. --- feeds.module | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/feeds.module b/feeds.module index 1b1cb7a7..d80dd7ef 100644 --- a/feeds.module +++ b/feeds.module @@ -30,10 +30,7 @@ function feeds_cron() { if ($importers = feeds_reschedule()) { foreach ($importers as $id) { feeds_importer($id)->schedule(); - $rows = db_select('feeds_source') - ->fields('feed_nid') - ->condition('id', $id) - ->execute(); + $rows = db_query("SELECT feed_nid FROM {feeds_source} WHERE id = :id", array(':id' => $id)); foreach ($rows as $row) { feeds_source($id, $row->feed_nid)->schedule(); } -- GitLab