CRM-16373 - Simplify UpdateConfigBackend and doSiteMove()
authorTim Otten <totten@civicrm.org>
Sun, 13 Sep 2015 04:18:10 +0000 (21:18 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 22:49:31 +0000 (15:49 -0700)
commit4f240ac1294f2cd72ba4cff2b7319715929fae52
treeafd72e30b27d671447783bef80be478717ebd01c
parent6157633bdacb288f991f5710d76343169cb7bc79
CRM-16373 - Simplify UpdateConfigBackend and doSiteMove()

doSiteMove() has been performing a search-and-replace against data
structures which haven't exist since at least 4.0; it seems quite unlikely
that this works.  Anecdotally, the workflow around this either incomplete or
buggy/broken.  Simplifying this is simply a reflection of the reality that
it doesn't do what it was written to do.

Instead, doSiteMove() now resets to a standard baseline/default.
CRM/Admin/Form/Setting/UpdateConfigBackend.php
CRM/Core/BAO/ConfigSetting.php
templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl