From 7703bb616f1966c47a230f5027b4f718769857d6 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Apr 2008 12:59:37 +0200 Subject: translate_path() only needs one parameters. remove unused second one Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 12e14fa..ccfbd25 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -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); -- cgit v1.2.3-18-g5258