]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/commands/html/class_CityHtmlResendLinkCommand.php
Continued:
[city.git] / application / city / classes / commands / html / class_CityHtmlResendLinkCommand.php
index c625b14c35510748b474e1809eb077b9dd5acb35..b217ff506fa2efb0590601cb21d1e7c96956cee4 100644 (file)
@@ -98,10 +98,10 @@ class CityHtmlResendLinkCommand extends BaseCommand implements Commandable {
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign the application data with the template engine
-               $templateInstance->assignApplicationData($applicationInstance);
+               $templateInstance->assignApplicationData();
 
                // Get a mailer class
-               $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, $applicationInstance, 'resend_link'));
+               $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance, 'resend_link'));
 
                // Set this mailer in our template engine
                $templateInstance->setMailerInstance($mailerInstance);