chg: dev: reinit project - disable redis module and make the project compatible w/ PHP7.3 #2
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace Mine\SeekerBundle\Controller;
|
||||
|
||||
//use CL\Slack\Payload\ChatPostMessagePayload;
|
||||
//use CL\Slack\Payload\UsersListPayload;
|
||||
//use CL\Slack\Transport\ApiClient;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
@@ -12,27 +9,6 @@ class GameController extends Controller
|
||||
{
|
||||
public function indexAction()
|
||||
{
|
||||
// $apiClient = new ApiClient('xoxp-107639806167-107029084564-115427085733-cccaa4f96c89c87ce680c7f22acfd001');
|
||||
//
|
||||
// $usersListPayload = new UsersListPayload();
|
||||
// $usersList = $apiClient->send($usersListPayload);
|
||||
//
|
||||
// dump($usersList);
|
||||
//
|
||||
// $payload = new ChatPostMessagePayload();
|
||||
// $payload->setChannel('#general');
|
||||
// $payload->setAsUser(true);
|
||||
// $payload->setText('Hello world!');
|
||||
|
||||
// $response = $apiClient->send($payload);
|
||||
|
||||
// if ($response->isOk()) {
|
||||
// dump('bazmeg');
|
||||
// } else {
|
||||
// dump($response->getError());
|
||||
// dump($response->getErrorExplanation());
|
||||
// }
|
||||
|
||||
return $this->render('MineSeekerBundle:Game:index.html.twig');
|
||||
}
|
||||
|
||||
@@ -44,11 +20,6 @@ class GameController extends Controller
|
||||
));
|
||||
}
|
||||
|
||||
public function slackAction(Request $request)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function privacyAction()
|
||||
{
|
||||
return $this->render('MineSeekerBundle:Official:privacy.html.twig');
|
||||
|
||||
Reference in New Issue
Block a user