Skip to content

Commit

Permalink
Merge pull request #68 from akagane99/master
Browse files Browse the repository at this point in the history
キューからメール送信(MailSend::send())は、MailQueueBehaviorで行うよう修正したため、各プラグインからの呼…
  • Loading branch information
s-nakajima committed May 28, 2016
2 parents 252b231 + 3e58aad commit e67f1a1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Controller/BbsArticlesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
App::uses('BbsesAppController', 'Bbses.Controller');
App::uses('CakeText', 'Utility');
App::uses('WorkflowComponent', 'Workflow.Controller/Component');
App::uses('MailSend', 'Mails.Utility');

/**
* BbsArticles Controller
Expand Down Expand Up @@ -190,9 +189,6 @@ public function add() {
unset($data['BbsArticle']['id']);

if ($bbsArticle = $this->BbsArticle->saveBbsArticle($data)) {
// キューからメール送信
MailSend::send();

$url = NetCommonsUrl::actionUrl(array(
'controller' => $this->params['controller'],
'action' => 'view',
Expand Down Expand Up @@ -259,9 +255,6 @@ public function reply() {

$bbsArticle = $this->BbsArticle->saveBbsArticle($data);
if ($bbsArticle) {
// キューからメール送信
MailSend::send();

$url = NetCommonsUrl::actionUrl(array(
'controller' => $this->params['controller'],
'action' => 'view',
Expand Down Expand Up @@ -336,9 +329,6 @@ public function edit() {
unset($data['BbsArticle']['id']);

if ($bbsArticle = $this->BbsArticle->saveBbsArticle($data)) {
// キューからメール送信
MailSend::send();

$url = NetCommonsUrl::actionUrl(array(
'controller' => $this->params['controller'],
'action' => 'view',
Expand Down

0 comments on commit e67f1a1

Please sign in to comment.