removing an unused variable

variable $settings isnt mentioned or used anywhere, gives error at init