summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/bootstrap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-29 09:42:12 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-29 09:42:12 +0200
commit1d67fe13f6b0751c5ba3ab7a93f730e9ceac39cd (patch)
treee5195d4be0a63fa0b90d95cfe0792688ebd58255 /program/lib/Roundcube/bootstrap.php
parent56e0cabdece8565a12077becc349bb1d35a5d06e (diff)
Remove (move to bc.php) unused strip_newlines() and strip_quotes() functions
Diffstat (limited to 'program/lib/Roundcube/bootstrap.php')
-rw-r--r--program/lib/Roundcube/bootstrap.php26
1 files changed, 0 insertions, 26 deletions
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
@@ -293,32 +293,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
*
* @param string $email E-mail address