Skip to content

Commit

Permalink
Fix incorrect relationship in Feature and Plan model classes
Browse files Browse the repository at this point in the history
  • Loading branch information
oanhnn committed Mar 27, 2018
1 parent 9643c46 commit 51ff5f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Models/Feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public function usage()
{
return $this->hasMany(
Config::get('plans.models.PlanSubscriptionUsage'),
Config::get('plans.tables.plan_subscription_usages'),
'feature_code',
'code'
);
Expand Down
1 change: 0 additions & 1 deletion src/Models/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public function subscriptions()
{
return $this->hasMany(
Config::get('plans.models.PlanSubscription'),
Config::get('plans.tables.plan_subscriptions'),
'plan_id',
'id'
);
Expand Down

0 comments on commit 51ff5f3

Please sign in to comment.