public function actionUserSendMessage() { $post = Yii::$app->request->post(); AdminCommon::sendMessage($post['user_id'], $post['message']); }
public function actionBlockContent() { $post = Yii::$app->request->post(); AdminCommon::blockedContent($post['content_id'], $post['blocked_type'], $post['content_type']); AdminCommon::sendMessage($post['user_id'], $post['message']); }