mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 11:28:41 +01:00
remove code for outdated mysql version
This commit is contained in:
parent
fa4a208549
commit
4551b47421
@ -2047,9 +2047,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…
x
Reference in New Issue
Block a user