summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-29 03:46:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-29 03:46:39 +0000
commit93b910091f12eb94503e416d8fb57c48fe0df5c8 (patch)
treea5c334a27c4d3b344e90ee585421001d23c75735 /modules/system/system.install
parent22f0ba528f7b579868b793664cf9c7875b788fd1 (diff)
downloadbrdo-93b910091f12eb94503e416d8fb57c48fe0df5c8.tar.gz
brdo-93b910091f12eb94503e416d8fb57c48fe0df5c8.tar.bz2
#1006478 by Stevel, mradcliffe, vwX, bfroehle: Fixed D6 to D7 upgrade on PostgreSQL stopped cold at update.php
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install15
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index f31abcb5a..c0796027b 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2115,21 +2115,6 @@ function system_update_7021() {
}
/**
- * Add the substr_index() function to PostgreSQL.
- *
- * Note: this should go into the driver itself, but we have no support
- * for driver-specific updates yet.
- */
-function system_update_7024() {
- if (db_driver() == 'pgsql') {
- db_query('CREATE OR REPLACE FUNCTION "substring_index"(text, text, integer) RETURNS text AS
- \'SELECT array_to_string((string_to_array($1, $2)) [1:$3], $2);\'
- LANGUAGE \'sql\''
- );
- }
-}
-
-/**
* Enable field type modules.
*/
function system_update_7027() {