Skip to content

Commit aa4821d

Browse files
committed
remove old mysql function. It's a hack, we just return 5.0 now.
1 parent 2ecd497 commit aa4821d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

class/online.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function write($uid, $uname, $time, $forum, $ip, $forumtopic)
188188
return false;
189189
}
190190

191-
$mysql_version = substr(trim(mysql_get_server_info()), 0, 3);
191+
$mysql_version = "5.0";
192192
/* for MySQL 4.1+ */
193193
if ($mysql_version >= "4.1"):
194194

0 commit comments

Comments
 (0)