implemented INI cenversion functionality

This commit is contained in:
El RIDO 2017-10-04 21:55:03 +02:00
parent b60d55236e
commit 6e8eafe129
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 46 additions and 3 deletions

View file

@ -693,9 +693,8 @@ class Database extends AbstractData
'CREATE INDEX IF NOT EXISTS comment_parent ON ' .
self::_sanitizeIdentifier('comment') . '(pasteid);'
);
// no break, continue with updates for 0.22
case '0.22':
case '1.0':
// no break, continue with updates for 0.22 and later
default:
self::_exec(
'UPDATE ' . self::_sanitizeIdentifier('config') .
' SET value = ? WHERE id = ?',