From: Adam Magness Date: Wed, 31 Oct 2018 15:02:30 +0000 (-0400) Subject: Remove old functions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=93ccd7bcdb8520e91ba1cbb8a80b7baee9a7180c;p=friendica.git Remove old functions remove old functions from file. --- 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 *