summaryrefslogtreecommitdiff
path: root/modules/image/image.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image/image.install')
-rw-r--r--modules/image/image.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/image/image.install b/modules/image/image.install
index fc326b4e6..4edc32003 100644
--- a/modules/image/image.install
+++ b/modules/image/image.install
@@ -386,6 +386,15 @@ function image_update_7002(array &$sandbox) {
}
/**
+ * Remove the variables that set alt and title length since they were not
+ * used for database column size and could cause PDO exceptions.
+ */
+function image_update_7003() {
+ variable_del('image_alt_length');
+ variable_del('image_title_length');
+}
+
+/**
* Implements hook_requirements() to check the PHP GD Library.
*
* @param $phase