From 66e82e46dbc51003c9c30b7a47efec7a723aa980 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 18 Nov 2018 17:36:00 +0100 Subject: [PATCH] [html] Remove todo tags It is not feasible to use a single 'substr' in the functions --- lib/html.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/html.php b/lib/html.php index c8bf8d9c..dfc812b0 100644 --- a/lib/html.php +++ b/lib/html.php @@ -160,8 +160,6 @@ function defaultLinkTo($content, $server){ * @param string $end End delimiter, e.g. `<` * @return string|bool Extracted string, e.g. `John Doe`, or false if the * delimiters were not found. - * - * @todo This function can possibly be simplified to use a single `substr` command. */ function extractFromDelimiters($string, $start, $end) { if (strpos($string, $start) !== false) { @@ -178,8 +176,6 @@ function extractFromDelimiters($string, $start, $end) { * @param string $start Start delimiter, e.g. `` * @return string Cleaned string, e.g. `foobar` - * - * @todo This function can possibly be simplified to use a single `substr` command. */ function stripWithDelimiters($string, $start, $end) { while(strpos($string, $start) !== false) {