summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--panels_mini/panels_mini.install2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 416fb75..916ba7a 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,7 @@ Panels 7.x-3.0-dev
==================
#1025716: Panels fields broken in last update.
#1056464 by EclipseGc: Fix broken delete statement in mini panel delete.
+#954324 by EclipseGc: Fix broken delete statement in mini panel uninstall.
Panels 7.x-3.0-alpha2 (10-Jan-2011)
=====================
diff --git a/panels_mini/panels_mini.install b/panels_mini/panels_mini.install
index 90d2647..5643021 100644
--- a/panels_mini/panels_mini.install
+++ b/panels_mini/panels_mini.install
@@ -117,7 +117,7 @@ function panels_mini_uninstall() {
if ($deltas) {
// Delete all configured blocks.
- db_delete('blocks')
+ db_delete('block')
->condition('module', 'panels_mini')
->condition('delta', $deltas)
->execute();