Closed (fixed)
Project:
User Import
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
12 May 2013 at 11:21 UTC
Updated:
21 Jul 2019 at 14:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
darrellduane commentedAlso, there are calls to update_sql() in this same function which are deprecated.
Comment #2
burgs commentedI've attached a patch that fixes both the issues mentioned, and some other typos etc. Please test.
Comment #3
gisleChanging status.
Comment #4
gisleThese functions are named
user_import_update_6002so they areuser_import_update_6003implementations ofhook_update_Nfor Drupal 6. They are also present in User Import version 6.4 (the latest stable release of the Drupal 6 branch of the project).The correct procedure for a major project upgrade it:
upgrade.phpto upgrade the database.If this procedure is followed, the database upgrades would already have happened prior to installation of the Drupal 7 code, and the legacy code would have been ignored.
It does not make sense to upgrade a Drupal 6 version of
hook_update_Nwith Drupal 7 function calls.What is wrong here is that Drupal 6 functions is retained in a Drupal 7 project. They should simply have been removed to give the Drupal 7 version a clean start.
Comment #6
gisleFixed in most recent snapshot of 7.x-3.x-dev.
Comment #7
gisleComment #8
gisleChanging status.