summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt4
-rw-r--r--content.install5
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index d9559dc..194aef3 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,9 @@
//$Id$
+CCK 6.x-2.x
+===========
+- #482774 Update breaks when CCK is disabled.
+
CCK 6.x-2.3
===========
diff --git a/content.install b/content.install
index 94e961d..863e0e6 100644
--- a/content.install
+++ b/content.install
@@ -525,8 +525,13 @@ function content_update_6009() {
* See http://drupal.org/node/407446.
*/
function content_update_6010(&$sandbox) {
+ if ($abort = content_check_update()) {
+ return $abort;
+ }
$ret = array();
+ drupal_load('module', 'content');
+
// Gather list of tables and columns that need to be updated.
if (!isset($sandbox['tables'])) {
$sandbox['tables'] = array();