Skip to content
Snippets Groups Projects
Commit d937dbcd authored by colemanw's avatar colemanw
Browse files

Shouldn't have removed that - adding it back CRM-12339

parent faf07ee0
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,8 @@ class CRM_Core_Resources {
* @return CRM_Core_Resources
*/
public function addSettingsFactory($callable) {
// Make sure our callback has been registered
$this->addSetting(array());
$this->settingsFactories[] = $callable;
return $this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment