From a9f0d764ae5282fb3b32a8e18831a2ab3988a95e Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 27 Oct 2020 00:11:49 +0000 Subject: [PATCH] remove redundant cast --- ext/media/main.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/media/main.php b/ext/media/main.php index ec644952..107f08e6 100644 --- a/ext/media/main.php +++ b/ext/media/main.php @@ -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); } }