Non-ascii characters caused problems with SVN function and were replaced
[squirrelmail.git] / functions / strings.php
index ac70ae621eebca39347cfd56985d2aa851f7bf4a..7f8f5b0e635b63c5be8a8d163644bf24fe2e0075 100644 (file)
@@ -72,14 +72,6 @@ function getLineOfAddrs($array) {
     return( $to_line );
 }
 
-function find_mailbox_name ($mailbox) {
-    if (ereg(" *\"([^\r\n\"]*)\"[ \r\n]*$", $mailbox, $regs))
-        return $regs[1];
-    ereg(" *([^ \r\n\"]*)[ \r\n]*$",$mailbox,$regs);
-    return $regs[1];
-    
-}
-
 function php_self () {
     global $PHP_SELF, $HTTP_SERVER_VARS;