Skip to content

Commit 0524a8c

Browse files
committed
core (clear) Delete some deprecated methods
1 parent fa455fd commit 0524a8c

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

core/src/Core.php

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public function outputContent($noEvent = false)
800800

801801
$this->documentOutput = $this->cleanUpMODXTags($this->documentOutput);
802802

803-
$this->documentOutput = $this->rewriteUrls($this->documentOutput);
803+
$this->documentOutput = UrlProcessor::rewriteUrls($this->documentOutput);
804804

805805
// send out content-type and content-disposition headers
806806
if (IN_PARSER_MODE == "true") {
@@ -3013,13 +3013,6 @@ public function _sendRedirectForRefPage($url)
30133013
exit;
30143014
}
30153015

3016-
/**
3017-
* @deprecated use TemplateProcessor::getTemplateCodeFromDB()
3018-
*/
3019-
public function _getTemplateCodeFromDB($templateID)
3020-
{
3021-
return TemplateProcessor::getTemplateCodeFromDB($templateID);
3022-
}
30233016

30243017
/**
30253018
* Returns an array of all parent record IDs for the id passed.
@@ -4341,13 +4334,7 @@ public function makeUrl($id, $alias = '', $args = '', $scheme = '')
43414334
return UrlProcessor::makeUrl((int)$id, $alias, $args, $scheme);
43424335
}
43434336

4344-
/**
4345-
* @deprecated use UrlProcessor::getAliasListing()
4346-
*/
4347-
public function getAliasListing($id)
4348-
{
4349-
return UrlProcessor::getAliasListing($id);
4350-
}
4337+
43514338

43524339
/**
43534340
* Returns the Evolution CMS version information as version, branch, release date and full application name.
@@ -6355,15 +6342,6 @@ public function messageQuit($msg = 'unspecified error', $query = '', $is_error =
63556342
return $this->getService('ExceptionHandler')->messageQuit($msg, $query, $is_error, $nr, $file, $source, $text, $line, $output);
63566343
}
63576344

6358-
/**
6359-
* @param $backtrace
6360-
* @return string
6361-
* @deprecated
6362-
*/
6363-
public function get_backtrace($backtrace)
6364-
{
6365-
return $this->getService('ExceptionHandler')->getBacktrace($backtrace);
6366-
}
63676345

63686346
/**
63696347
* @return string

0 commit comments

Comments
 (0)