removing leftover from previously using a different function, resolves #83

This commit is contained in:
El RIDO
2016-07-06 09:41:07 +02:00
parent d664af6ce5
commit 6b0b814dc6
2 changed files with 4 additions and 4 deletions

View File

@@ -607,7 +607,7 @@ class zerobin_db extends zerobin_abstract
case '0.21':
// create the meta column if necessary (pre 0.21 change)
try {
self::$_db->exec('SELECT meta FROM ' . self::$_prefix . 'paste LIMIT 1;', array());
self::$_db->exec('SELECT meta FROM ' . self::$_prefix . 'paste LIMIT 1;');
} catch (PDOException $e) {
self::$_db->exec('ALTER TABLE ' . self::$_prefix . 'paste ADD COLUMN meta TEXT;');
}