aboutsummaryrefslogtreecommitdiff
path: root/classes/Mailer.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 09:15:36 +0200
committerCamil Staps2016-08-01 09:15:36 +0200
commit923aac957cc28723c622570d46d2a915c75df06f (patch)
treee4c6a3683f0f0781ed9545feb922e41a2e8d1e8b /classes/Mailer.php
parentInternationalisation: email subjects (diff)
Removed duplicate code
Diffstat (limited to 'classes/Mailer.php')
-rw-r--r--classes/Mailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Mailer.php b/classes/Mailer.php
index 33068b7..f95addc 100644
--- a/classes/Mailer.php
+++ b/classes/Mailer.php
@@ -95,7 +95,7 @@ class Mailer extends PHPMailer {
return false;
}
- BusinessAdmin::createMail($this->pdo, $this->contactId, $this->offerId, $this->Subject);
+ Mail::create($this->pdo, [$this->contactId, $this->offerId, $this->Subject]);
return true;
}