Move BAO_Setting::getSettingSpecification => SettingsMetdata::getMetadata
authorTim Otten <totten@civicrm.org>
Sat, 12 Sep 2015 06:16:24 +0000 (23:16 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 17 Sep 2015 22:49:30 +0000 (15:49 -0700)
commitc7d90a9f50980bcf3d57177803fc7eb45e3e0af1
tree204c4bfbf4cbedc9eb5d61e1c0d1ad42b4c61220
parentb52647df755f5c1603b4ae60aad24f20e6aa19e4
Move BAO_Setting::getSettingSpecification => SettingsMetdata::getMetadata

When this function is in the BAO, it requires that the DAO exist. In a new
installation running GenCode, this can create dependency loop (where
generating code requires ts(), and using ts() requires settings, and using
settings requires that you already have the generated code).
CRM/Core/BAO/Setting.php
Civi/Core/SettingsManager.php
Civi/Core/SettingsMetadata.php [new file with mode: 0644]