mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
Merge pull request #89 from openclassify/vedatakd
fix create subscription_plan_id
This commit is contained in:
commit
57fd67dd92
@ -196,9 +196,9 @@ class UserAuthenticator
|
|||||||
if($this->advModel->is_enabled('cloudsite'))
|
if($this->advModel->is_enabled('cloudsite'))
|
||||||
{
|
{
|
||||||
$userPlan = new UserModel();
|
$userPlan = new UserModel();
|
||||||
$userPlan->addPlanAjaxUser($planParams);
|
$plan = $userPlan->addPlanAjaxUser($planParams);
|
||||||
$siteModel = new SiteModel();
|
$siteModel = new SiteModel();
|
||||||
$siteModel->createSite($all['subdomain'], $user->id, $opassword, $planParams['plan']); //Create Site
|
$siteModel->createSite($all['subdomain'], $user->id, $opassword, $plan->id); //Create Site
|
||||||
$this->events->dispatch(new CreateSite($all, $this->settings));
|
$this->events->dispatch(new CreateSite($all, $this->settings));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user