Skip to content

Commit

Permalink
キューからメール送信(MailSend::send())は、MailQueueBehaviorで行うよう修正したため、各プラグインからの呼…
Browse files Browse the repository at this point in the history
…び出し削除
  • Loading branch information
akagane99 committed May 28, 2016
1 parent b0d6a53 commit 3e58aad
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 @@ -215,9 +214,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 @@ -284,9 +280,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 @@ -361,9 +354,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 3e58aad

Please sign in to comment.