Removed unused variable

$namespace is not used outside of the if statement in which it is redeclared. The initial declaration is unnecessary.