Oops, probably what he wanted to happen.
Check it out:

The recently released spending bill would strip the salary of the White House’s climate adviser, stop the Environmental Protection Agency from implementing carbon dioxide emissions limits and clamp down on funding to fight global warming.

The bill bars the White House from using any appropriated funds to pay for the salary and any expenses for the “Assistant to the President for Energy and Climate Change.” The office was recently vacated by former climate adviser Heather Zichal, who helped President Obama craft his new climate plan which bans coal-fired power and was instrumental in promoting other environmental efforts from the White House.