1 <?php
2 /**
3 * @package Joomla.Legacy
4 * @subpackage Application
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE.txt
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * Deprecated class placeholder. You should use JApplicationWebClient instead.
14 *
15 * @since 1.7
16 * @deprecated 2.5
17 */
18 class JWebClient extends JApplicationWebClient
19 {
20 /**
21 * Class constructor.
22 *
23 * @param mixed $userAgent The optional user-agent string to parse.
24 * @param mixed $acceptEncoding The optional client accept encoding string to parse.
25 * @param mixed $acceptLanguage The optional client accept language string to parse.
26 *
27 * @since 1.7
28 * @deprecated 2.5
29 */
30 public function __construct($userAgent = null, $acceptEncoding = null, $acceptLanguage = null)
31 {
32 JLog::add('JWebClient is deprecated. Use JApplicationWebClient instead.', JLog::WARNING, 'deprecated');
33 parent::__construct($userAgent, $acceptEncoding, $acceptLanguage);
34 }
35 }
36