From be380395918c28e590cb1c3f1304aa1f17f5925c Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 18 Dec 2015 14:55:20 +0300 Subject: [PATCH] =?UTF-8?q?SMS=20=D0=BD=D0=B0=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/CommentsController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/CommentsController.php b/controllers/CommentsController.php index 87a7fe8..a0bba37 100644 --- a/controllers/CommentsController.php +++ b/controllers/CommentsController.php @@ -66,6 +66,8 @@ class CommentsController extends Controller } } + SMS::send('Новый комментарий от '.App::$user->nick, '79046106141'); + App::redirect('/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id); }