From 1d67fe13f6b0751c5ba3ab7a93f730e9ceac39cd Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 29 May 2013 09:42:12 +0200 Subject: Remove (move to bc.php) unused strip_newlines() and strip_quotes() functions --- program/lib/Roundcube/bootstrap.php | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'program/lib/Roundcube/bootstrap.php') diff --git a/program/lib/Roundcube/bootstrap.php b/program/lib/Roundcube/bootstrap.php index b7e69cb2a..5a371d2f0 100644 --- a/program/lib/Roundcube/bootstrap.php +++ b/program/lib/Roundcube/bootstrap.php @@ -292,32 +292,6 @@ function is_ascii($str, $control_chars = true) } -/** - * Remove single and double quotes from a given string - * - * @param string Input value - * - * @return string Dequoted string - */ -function strip_quotes($str) -{ - return str_replace(array("'", '"'), '', $str); -} - - -/** - * Remove new lines characters from given string - * - * @param string $str Input value - * - * @return string Stripped string - */ -function strip_newlines($str) -{ - return preg_replace('/[\r\n]/', '', $str); -} - - /** * Compose a valid representation of name and e-mail address * -- cgit v1.2.3