Fix BAO class namespace issues
This commit is contained in:
parent
82952a0162
commit
c7c766d926
10 changed files with 16 additions and 22 deletions
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
use CRM_Twingle_ExtensionUtil as E;
|
||||
use Civi\Twingle\Shop\BAO\TwingleShop;
|
||||
use Civi\Twingle\Shop\Exceptions\ShopException;
|
||||
|
||||
/**
|
||||
|
@ -62,7 +61,7 @@ function civicrm_api3_twingle_shop_Create($params) {
|
|||
|
||||
try {
|
||||
// Create TwingleShop and load params
|
||||
$shop = new TwingleShop();
|
||||
$shop = new CRM_Twingle_BAO_TwingleShop();
|
||||
$shop->load($params);
|
||||
|
||||
// Save TwingleShop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue