1*4cdb6842SAndreas Gohr<?php 2*4cdb6842SAndreas Gohr 3*4cdb6842SAndreas Gohr/** 4*4cdb6842SAndreas Gohr * These classes and functions are deprecated and will be removed in future releases 5*4cdb6842SAndreas Gohr */ 6*4cdb6842SAndreas Gohr 7*4cdb6842SAndreas Gohr/** 8*4cdb6842SAndreas Gohr * @inheritdoc 9*4cdb6842SAndreas Gohr * @deprecated 2018-05-07 10*4cdb6842SAndreas Gohr */ 11*4cdb6842SAndreas Gohrclass RemoteAccessDeniedException extends \dokuwiki\Remote\AccessDeniedException { 12*4cdb6842SAndreas Gohr /** @inheritdoc */ 13*4cdb6842SAndreas Gohr public function __construct($message = "", $code = 0, Throwable $previous = null) { 14*4cdb6842SAndreas Gohr dbg_deprecated('dokuwiki\Remote\AccessDeniedException'); 15*4cdb6842SAndreas Gohr parent::__construct($message, $code, $previous); 16*4cdb6842SAndreas Gohr } 17*4cdb6842SAndreas Gohr 18*4cdb6842SAndreas Gohr} 19*4cdb6842SAndreas Gohr 20*4cdb6842SAndreas Gohr/** 21*4cdb6842SAndreas Gohr * @inheritdoc 22*4cdb6842SAndreas Gohr * @deprecated 2018-05-07 23*4cdb6842SAndreas Gohr */ 24*4cdb6842SAndreas Gohrclass RemoteException extends \dokuwiki\Remote\RemoteException { 25*4cdb6842SAndreas Gohr /** @inheritdoc */ 26*4cdb6842SAndreas Gohr public function __construct($message = "", $code = 0, Throwable $previous = null) { 27*4cdb6842SAndreas Gohr dbg_deprecated('dokuwiki\\Remote\\RemoteException'); 28*4cdb6842SAndreas Gohr parent::__construct($message, $code, $previous); 29*4cdb6842SAndreas Gohr } 30*4cdb6842SAndreas Gohr 31*4cdb6842SAndreas Gohr} 32*4cdb6842SAndreas Gohr 33*4cdb6842SAndreas Gohr 34*4cdb6842SAndreas Gohr/** 35*4cdb6842SAndreas Gohr * Escapes regex characters other than (, ) and / 36*4cdb6842SAndreas Gohr * 37*4cdb6842SAndreas Gohr * @param string $str 38*4cdb6842SAndreas Gohr * @return string 39*4cdb6842SAndreas Gohr * @deprecated 2018-05-04 40*4cdb6842SAndreas Gohr */ 41*4cdb6842SAndreas Gohrfunction Doku_Lexer_Escape($str) { 42*4cdb6842SAndreas Gohr dbg_deprecated('dokuwiki\\Parsing\\Lexer\\Lexer::escape'); 43*4cdb6842SAndreas Gohr return \dokuwiki\Parsing\Lexer\Lexer::escape($str); 44*4cdb6842SAndreas Gohr} 45