forked from leftypol/leftypol
remove mysql 5.5 support
This commit is contained in:
parent
5bd89a9437
commit
73bc23a4c7
5 changed files with 2 additions and 50 deletions
|
@ -520,9 +520,6 @@ function mod_new_board() {
|
|||
|
||||
$query = Element('posts.sql', array('board' => $board['uri']));
|
||||
|
||||
if (mysql_version() < 50503)
|
||||
$query = preg_replace('/(CHARSET=|CHARACTER SET )utf8mb4/', '$1utf8', $query);
|
||||
|
||||
query($query) or error(db_error());
|
||||
|
||||
if ($config['cache']['enabled'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue