From 93ccd7bcdb8520e91ba1cbb8a80b7baee9a7180c Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Wed, 31 Oct 2018 11:02:30 -0400 Subject: [PATCH] Remove old functions remove old functions from file. --- include/text.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/include/text.php b/include/text.php index 2099f88c10..7f66268ad4 100644 --- a/include/text.php +++ b/include/text.php @@ -29,31 +29,6 @@ use Friendica\Model\FileTag; require_once "include/conversation.php"; -/** - * This is our template processor - * - * @param string|FriendicaSmarty $s the string requiring macro substitution, - * or an instance of FriendicaSmarty - * @param array $r key value pairs (search => replace) - * @return string substituted string - */ -function replace_macros($s, $r) -{ - return Renderer::replaceMacros($s, $r); -} - -/** - * load template $s - * - * @param string $s - * @param string $root - * @return string - */ -function get_markup_template($s, $root = '') -{ - return Renderer::getMarkupTemplate($s, $root); -} - /** * @brief Generates a pseudo-random string of hexadecimal characters * -- 2.39.5