Private
Public Access
1
0

chg: dev: reinit project - disable redis module and make the project compatible w/ PHP7.3 #2

This commit is contained in:
2019-10-26 16:51:04 +02:00
parent 0effd8ab8d
commit 13749186fb
14 changed files with 6155 additions and 1930 deletions

View File

@@ -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');