summaryrefslogtreecommitdiff
path: root/modules/image/image.install
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-12-24 18:06:27 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-12-24 18:06:27 -0800
commit0f48b801736782736cad9281ad57bfa7a23e272a (patch)
treecbd91162145dc08f0d8f7d3baa4b954840789fb8 /modules/image/image.install
parentaa8e8f4de83ca990a56e97ea317cee2bfc657a12 (diff)
downloadbrdo-0f48b801736782736cad9281ad57bfa7a23e272a.tar.gz
brdo-0f48b801736782736cad9281ad57bfa7a23e272a.tar.bz2
Issue #1015916 by BTMash, jenlampton, theborg, Aron Novak, christefano, realityloop, xjm, Kevin Hankens: Fixed Image field 'title' allows more data than database column size.
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