Skip to content

Commit

Permalink
removes unnecessary SET-arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Jun 5, 2017
1 parent 92e50f2 commit b48f70b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ function handle_exception($e)
);
$ji_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

// Set the correct charset for this connection
$ji_db->query("SET NAMES 'utf8' COLLATE 'utf8_general_ci'");
$ji_db->query("SET CHARACTER SET 'utf8mb4'");
$ji_db->query("SET character_set_connection = 'utf8mb4'");

// collect URL and headers
$request = new Request($config, $_SERVER);

Expand Down

0 comments on commit b48f70b

Please sign in to comment.