|
|
@@ -330,7 +330,7 @@ Index: sites/all/modules/img_assist/img_assist_popup.js
|
|
|
--- /dev/null 2008-05-02 21:08:21 +0200
|
|
|
+++ sites/all/modules/img_assist/img_assist_popup.js 2008-05-02 21:05:56 +0200
|
|
|
@@ -0,0 +1,20 @@
|
|
|
-+/* $Id: drupal.patch,v 1.20 2008/05/30 19:18:50 rse Exp $ */
|
|
|
++/* $Id: drupal.patch,v 1.21 2008/06/14 13:14:46 rse Exp $ */
|
|
|
+
|
|
|
+function launch_popup(nid, mw, mh) {
|
|
|
+ var ox = mw;
|
|
|
@@ -700,3 +700,30 @@ Index: sites/all/modules/xmlcontent/xmlcontent.module
|
|
|
}
|
|
|
|
|
|
|
|
|
+-----------------------------------------------------------------------------
|
|
|
+
|
|
|
+Fix upgrading in "simplefeed" module if PostgreSQL is used.
|
|
|
+
|
|
|
+Index: sites/all/modules/simplefeed/simplefeed.install
|
|
|
+--- sites/all/modules/simplefeed/simplefeed.install.orig 2008-06-11 07:22:28 +0200
|
|
|
++++ sites/all/modules/simplefeed/simplefeed.install 2008-06-14 15:09:53 +0200
|
|
|
+@@ -31,8 +31,17 @@
|
|
|
+
|
|
|
+ function simplefeed_update_2() {
|
|
|
+ $ret = array();
|
|
|
+- $ret[] = update_sql("ALTER TABLE {simplefeed_feed} DROP INDEX url");
|
|
|
+- $ret[] = update_sql("ALTER TABLE {simplefeed_feed} CHANGE url url text");
|
|
|
++ switch ($GLOBALS['db_type']) {
|
|
|
++ case 'mysql':
|
|
|
++ case 'mysqli':
|
|
|
++ $ret[] = update_sql("ALTER TABLE {simplefeed_feed} DROP INDEX url");
|
|
|
++ $ret[] = update_sql("ALTER TABLE {simplefeed_feed} CHANGE url url text");
|
|
|
++ break;
|
|
|
++ case 'pgsql':
|
|
|
++ $ret[] = update_sql("DROP INDEX {simplefeed_feed}_url_idx");
|
|
|
++ $ret[] = update_sql("ALTER TABLE {simplefeed_feed} ALTER COLUMN url TYPE text");
|
|
|
++ break;
|
|
|
++ }
|
|
|
+ return $ret;
|
|
|
+ }
|
|
|
+
|