summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-15 08:23:07 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-15 08:23:07 +0000
commit10104ba94ac7a70b2be3594cb769034582533e1f (patch)
tree343f80cc45db74bee38b959b601875f22af2b532 /modules/aggregator/aggregator.module
parent4595edbfc8930ce84e374dc6183266dab7dbecfd (diff)
downloadbrdo-10104ba94ac7a70b2be3594cb769034582533e1f.tar.gz
brdo-10104ba94ac7a70b2be3594cb769034582533e1f.tar.bz2
- Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php.
Diffstat (limited to 'modules/aggregator/aggregator.module')
-rw-r--r--modules/aggregator/aggregator.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 1c76fbd9d..ce900b047 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -392,7 +392,7 @@ function aggregator_save_category($edit) {
->condition('cid', $edit['cid'])
->execute();
// Make sure there is no active block for this category.
- db_delete('blocks')
+ db_delete('block')
->condition('module', 'aggregator')
->condition('delta', 'category-' . $edit['cid'])
->execute();
@@ -453,7 +453,7 @@ function aggregator_save_feed($edit) {
->condition('fid', $edit['fid'])
->execute();
// Make sure there is no active block for this feed.
- db_delete('blocks')
+ db_delete('block')
->condition('module', 'aggregator')
->condition('delta', 'feed-' . $edit['fid'])
->execute();