From 632de6ae4db21e701804869b37edc0e2035ca38b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 20 Jun 2021 13:36:59 +0200 Subject: [PATCH] Remove `BBCodeHandler::setAllowedBBCodes()` (#4318) This method has been deprecated for many years since 25863cff5dcb31c893b073aedf678b778a14d9fa and has resulted in an exception since then. --- .../files/lib/system/bbcode/BBCodeHandler.class.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wcfsetup/install/files/lib/system/bbcode/BBCodeHandler.class.php b/wcfsetup/install/files/lib/system/bbcode/BBCodeHandler.class.php index 4aa22db8c0..d2c773f1e4 100644 --- a/wcfsetup/install/files/lib/system/bbcode/BBCodeHandler.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/BBCodeHandler.class.php @@ -114,15 +114,6 @@ class BBCodeHandler extends SingletonFactory return $buttons; } - /** - * @param string[] $bbcodes - * @deprecated 3.0 - please use setDisallowedBBCodes() instead - */ - public function setAllowedBBCodes(array $bbcodes) - { - throw new \RuntimeException("setAllowedBBCodes() is no longer supported, please use setDisallowedBBCodes() instead."); - } - /** * Sets the disallowed BBCodes. * -- 2.20.1