Removed Unused Variables and Correct DocBlock

Tracker item http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32433&start=0