Commit 341cbc50 authored by Vincent Sherwood's avatar Vincent Sherwood Committed by Ralf Becker

ZP-805 Renamed constructor HTTPReturnCodeException() to __construct()....

ZP-805 Renamed constructor HTTPReturnCodeException() to __construct(). Released under the Affero GNU General Public License (AGPL) version 3.
parent a7f732e3
......@@ -46,7 +46,7 @@ class HTTPReturnCodeException extends FatalException {
protected $defaultLogLevel = LOGLEVEL_ERROR;
protected $showLegal = false;
public function HTTPReturnCodeException($message = "", $code = 0, $previous = NULL, $logLevel = false) {
public function __construct($message = "", $code = 0, $previous = NULL, $logLevel = false) {
if ($code)
$this->httpReturnCode = $code;
parent::__construct($message, (int) $code, $previous, $logLevel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment