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