diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index 7c4e736d53..b1bc186d9f 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -1368,10 +1368,6 @@ class AccountController extends BaseController $subject = 'Invoice Ninja - Canceled Account'; - if (Auth::user()->isPaidPro()) { - $subject .= ' [PRO]'; - } - $this->userMailer->sendTo(CONTACT_EMAIL, $email, $name, $subject, 'contact', $data); } diff --git a/app/Models/User.php b/app/Models/User.php index 933e7f888d..cfa5e33c39 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -149,14 +149,6 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac return $this->account->hasFeature($feature); } - /** - * @return bool - */ - public function isPaidPro() - { - return $this->isPro($accountDetails) && !$accountDetails['trial']; - } - /** * @return mixed */