diff --git a/core/control/ContentController.php b/core/control/ContentController.php index bc09a6346..937695801 100644 --- a/core/control/ContentController.php +++ b/core/control/ContentController.php @@ -1,7 +1,4 @@ URLSegment . "/$action"; - }else{ + } else { user_error("ContentController::RelativeLink() No URLSegment given on a '$this->class' object. Perhaps you should overload it?", E_USER_WARNING); } - /** TODO : junk from CVS ?? **/ - //if($action == "index") $action = ""; - - // '&' in a URL is apparently naughty - // $action = preg_replace('/&/', '&', $action); - - //return $this->URLSegment . "/$action"; } //----------------------------------------------------------------------------------//