Details
-
Type:
Improvement
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Duplicate
-
Affects Version/s: 4.1.0
-
Fix Version/s: 4.1.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
This is a substantial re-write of UpdateAddress.php that will break backward compatibility for anyone who is calling this file in a cron job (or other script).
It fixes two problems with UpdateAddress.php:
- Currently, UpdateAddress.php, when run from the command line, fails in a multi-site environment (with this patch, you can pass the -s argument to specify the site you want to run it against)
- Currently UpdateAddress.php, when run from the web on a default Debian Squeeze installation or any site in which register_argc_argv is turned off in the php.ini file
This script utilizes (and depends on) changes made to cli.php here: http://issues.civicrm.org/jira/browse/CRM-8565