Commit eda7b8a8 authored by webchick's avatar webchick
Browse files

Issue #2232881 by danblack: pdo used to require comment escaping - doesn'\''t on supported versions

parent 36adf946
......@@ -474,9 +474,6 @@ public function changeField($table, $field, $field_new, $spec, $keys_new = array
public function prepareComment($comment, $length = NULL) {
// Work around a bug in some versions of PDO, see
$comment = str_replace("'", '’', $comment);
// Truncate comment to maximum comment length.
if (isset($length)) {
// Add table prefixes before truncating.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment