summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-04-12 12:59:37 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-04-12 12:59:37 +0200
commit7703bb616f1966c47a230f5027b4f718769857d6 (patch)
treea5cbe43b81d7095592f1d6959f6a337fa4a589cf
parent7688cbcdf666c2c538bc35cbc4efbe929a8fa9da (diff)
translate_path() only needs one parameters. remove unused second one
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php3
1 files changed, 1 insertions, 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);