diff --git a/docs/en/topics/configuration.md b/docs/en/topics/configuration.md index 07124b717..ac27ec89d 100644 --- a/docs/en/topics/configuration.md +++ b/docs/en/topics/configuration.md @@ -35,7 +35,6 @@ incomplete - please add to it** *Try to keep it in alphabetical order too! :)* | ---- | | ----------- | | Authenticator::register_authenticator($authenticator);| | Enable an authentication method (for more details see [security](/topics/security)). | | Authenticator::set_default_authenticator($authenticator); | | Modify tab-order on login-form.| - | BasicAuth::disable() | | Disable basic authentication checking for dev sites (useful when testing credit card transaction post-backs etc) | | BBCodeParser::disable_autolink_urls(); | | Disables plain hyperlinks from being turned into links when bbcode is parsed. | | BlogEntry::allow_wysiwyg_editing(); | | Enable rich text editing for blog posts. | | ContentNegotiator::set_encoding(string $encoding) | | The encoding charset to use - UTF-8 by default | diff --git a/security/BasicAuth.php b/security/BasicAuth.php index 6c94c5390..2bad329f0 100644 --- a/security/BasicAuth.php +++ b/security/BasicAuth.php @@ -114,22 +114,6 @@ class BasicAuth { if($message) self::$entire_site_protected_message = $message; } - /** - * @deprecated Use BasicAuth::protect_entire_site() instead. - */ - static function enable() { - Deprecation::notice('2.4', 'Use BasicAuth::protect_entire_site() instead.'); - return self::protect_entire_site(); - } - - /** - * @deprecated Use BasicAuth::protect_entire_site(false) instead. - */ - static function disable() { - Deprecation::notice('2.4', 'Use BasicAuth::protect_entire_site(false) instead.'); - return self::protect_entire_site(false); - } - /** * Call {@link BasicAuth::requireLogin()} if {@link BasicAuth::protect_entire_site()} has been called. * This is a helper function used by {@link Controller::init()}.