diff --git a/include/class.format.php b/include/class.format.php
index 31650f2c6f9a77d5839d061585414d717ac0fb55..90a73b4f6f9a755ad867caa64f60ff6aedd9197a 100644
--- a/include/class.format.php
+++ b/include/class.format.php
@@ -30,10 +30,6 @@ class Format {
         return round(($bytes/1048576),1).' mb';
     }
 
-    function file_name($filename) {
-        return preg_replace('/\s+/', '_', $filename);
-    }
-
     /* encode text into desired encoding - taking into accout charset when available. */
     function encode($text, $charset=null, $encoding='utf-8') {
 
@@ -380,10 +376,6 @@ class Format {
     }
 
 
-    function linebreaks($string) {
-        return urldecode(ereg_replace("%0D", " ", urlencode($string)));
-    }
-
     function viewableImages($html, $script='image.php') {
         return preg_replace_callback('/"cid:([\\w.-]{32})"/',
         function($match) use ($script) {