diff options
author | Michael Große <mic.grosse@googlemail.com> | 2019-03-17 13:30:28 +0100 |
---|---|---|
committer | Michael Große <mic.grosse@googlemail.com> | 2019-03-17 13:36:47 +0100 |
commit | 60b9af73d5be94f130ac24a6add338442a22fe6d (patch) | |
tree | 868442a2b3894634fde8a4903d29c26f06d851b2 /inc/HTTPClient.php | |
parent | 198564ab361cd134dce0bcc8d07863157d1ae7a2 (diff) | |
download | dokuwiki-60b9af73d5be94f130ac24a6add338442a22fe6d.tar.gz dokuwiki-60b9af73d5be94f130ac24a6add338442a22fe6d.zip |
Move deprecated HTTPClient classes to deprecated.php
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r-- | inc/HTTPClient.php | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php deleted file mode 100644 index badef9604..000000000 --- a/inc/HTTPClient.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -// phpcs:ignoreFile - -use dokuwiki\Debug\DebugHelper; - -/** - * @deprecated since 2019-03-17 use \dokuwiki\HTTPClient\HTTPClientException instead! - */ -class HTTPClientException extends \dokuwiki\HTTPClient\HTTPClientException { - - /** - * @inheritdoc - * @deprecated 2019-03-17 - */ - public function __construct($message = '', $code = 0, $previous = null) - { - DebugHelper::dbgDeprecatedFunction(dokuwiki\HTTPClient\HTTPClientException::class); - parent::__construct($message, $code, $previous); - } -} - -/** - * @deprecated since 2019-03-17 use \dokuwiki\HTTPClient\HTTPClient instead! - */ -class HTTPClient extends \dokuwiki\HTTPClient\HTTPClient { - - /** - * @inheritdoc - * @deprecated 2019-03-17 - */ - public function __construct() - { - DebugHelper::dbgDeprecatedFunction(dokuwiki\HTTPClient\HTTPClient::class); - parent::__construct(); - } -} - -/** - * @deprecated since 2019-03-17 use \dokuwiki\HTTPClient\DokuHTTPClient instead! - */ -class DokuHTTPClient extends \dokuwiki\HTTPClient\DokuHTTPClient { - - /** - * @inheritdoc - * @deprecated 2019-03-17 - */ - public function __construct() - { - DebugHelper::dbgDeprecatedFunction(dokuwiki\HTTPClient\DokuHTTPClient::class); - parent::__construct(); - } - -} |