[#42] refactored profile management
This commit is contained in:
parent
62399657e7
commit
fd47b91b65
2 changed files with 58 additions and 49 deletions
|
@ -12,6 +12,9 @@ class CRM_Twingle_Upgrader extends CRM_Twingle_Upgrader_Base {
|
|||
public function install() {
|
||||
// create a DB table for the twingle profiles
|
||||
$this->executeSqlFile('sql/civicrm_twingle_profile.sql');
|
||||
|
||||
// add a default profile
|
||||
CRM_Twingle_Profile::createDefaultProfile()->saveProfile();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue