SMS на добавление комментария

This commit is contained in:
Krivchikov Dmitry 2015-12-18 14:55:20 +03:00
parent d6ef681996
commit be38039591
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ class CommentsController extends Controller
}
}
SMS::send('Новый комментарий от '.App::$user->nick, '79046106141');
App::redirect('/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id);
}