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
|
@ -2082,9 +2082,6 @@ function markup(&$body, $track_cites = false, $op = false) {
|
|||
$body = str_replace("\r", '', $body);
|
||||
$body = utf8tohtml($body);
|
||||
|
||||
if (mysql_version() < 50503)
|
||||
$body = mb_encode_numericentity($body, array(0x010000, 0xffffff, 0, 0xffffff), 'UTF-8');
|
||||
|
||||
if ($config['markup_code']) {
|
||||
$code_markup = array();
|
||||
$body = preg_replace_callback($config['markup_code'], function($matches) use (&$code_markup) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue