translate_path() only needs one parameters. remove unused second one
authorAndreas Unterkircher <unki@netshadow.at>
Sat, 12 Apr 2008 10:59:37 +0000 (12:59 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Sat, 12 Apr 2008 10:59:37 +0000 (12:59 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php

index 12e14fa42f1ef3922d57d0faf75699651081e9a4..ccfbd2529446fdf966442431972eda0593989b27 100644 (file)
@@ -488,10 +488,9 @@ class PHPFSPOT {
     * is usally not the same as on the webserver, this function
     * will replace the path with that one specified in the cfg
     * @param string $path
-    * @param integer $width
     * @return string
     */
-   public function translate_path($path, $width = 0)
+   public function translate_path($path)
    {  
       return str_replace($this->cfg->path_replace_from, $this->cfg->path_replace_to, $path);