remove redundant cast

This commit is contained in:
Shish 2020-10-27 00:11:49 +00:00
parent 0cf35db00c
commit a9f0d764ae

View file

@ -947,9 +947,7 @@ class Media extends Extension
}
if ($this->get_version(MediaConfig::VERSION) < 3) {
$database->execute($database->scoreql_to_sql(
"ALTER TABLE images ADD COLUMN video_codec varchar(512) NULL"
));
$database->execute("ALTER TABLE images ADD COLUMN video_codec varchar(512) NULL");
$this->set_version(MediaConfig::VERSION, 3);
}
}