From 91e149287a729a01bf7e6e883e3d313cdd5a48da Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 9 Dec 2014 14:45:20 +0100 Subject: [PATCH] Added missing updates of media providers --- com.woltlab.wcf/update_2.1.0_alpha_1.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com.woltlab.wcf/update_2.1.0_alpha_1.sql b/com.woltlab.wcf/update_2.1.0_alpha_1.sql index 043f538279..7e53bdec6a 100644 --- a/com.woltlab.wcf/update_2.1.0_alpha_1.sql +++ b/com.woltlab.wcf/update_2.1.0_alpha_1.sql @@ -287,6 +287,8 @@ DELETE FROM wcf1_style_variable WHERE variableName = 'wcfMainMenuHoverBackground */ INSERT INTO wcf1_bbcode_media_provider (title, regex, html) VALUES ('Soundcloud set', 'https?://soundcloud.com/(?P[a-zA-Z0-9_-]+)/sets/(?P[a-zA-Z0-9_-]+)', ''); +UPDATE wcf1_bbcode_media_provider SET regex = 'https?://soundcloud.com/(?P[a-zA-Z0-9_-]+)/(?!sets/)(?P[a-zA-Z0-9_-]+)' WHERE title = 'Soundcloud'; +UPDATE wcf1_bbcode_media_provider SET html = '' WHERE title = 'YouTube'; /* * ######################## -- 2.20.1