summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-08-01 11:19:51 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-08-01 11:19:51 -0400
commitb7e3bb7f4b6e140926a88581843263b15560f6c5 (patch)
tree32015423f09cdddca614799cad8b127abf12d3fb /modules/system/system.install
parent0e35cc07681371a9cb191b523ee49ddb93c44f28 (diff)
downloadbrdo-b7e3bb7f4b6e140926a88581843263b15560f6c5.tar.gz
brdo-b7e3bb7f4b6e140926a88581843263b15560f6c5.tar.bz2
Issue #1706788 by David_Rothstein | aturetta: Rolled back issue #1613554 by removing the contents of system_update_7074 for now, since it fails on PostgreSQL.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install20
1 files changed, 4 insertions, 16 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 6d8142004..1161d6cdd 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3016,24 +3016,12 @@ function system_update_7073() {
}
/**
- * Convert menu_links query strings to arrays.
+ * This update has been removed and will not run.
*/
function system_update_7074() {
- $query = db_select('menu_links', 'ml', array('fetch' => PDO::FETCH_ASSOC))
- ->fields('ml', array('mlid', 'options'))
- ->condition('options', '%query%', 'LIKE');
- foreach ($query->execute() as $menu_link) {
- $menu_link['options'] = unserialize($menu_link['options']);
- if (isset($menu_link['options']['query']) && is_string($menu_link['options']['query'])) {
- $menu_link['options']['query'] = drupal_get_query_array($menu_link['options']['query']);
- db_update('menu_links')
- ->fields(array(
- 'options' => serialize($menu_link['options']),
- ))
- ->condition('mlid', $menu_link['mlid'], '=')
- ->execute();
- }
- }
+ // This update function previously converted menu_links query strings to
+ // arrays. It has been removed for now due to incompatibility with
+ // PostgreSQL.
}
/**