You are here

function twitter_mock_disable in Twitter 6.4

Same name and namespace in other branches
  1. 6.5 tests/twitter_mock.module \twitter_mock_disable()
  2. 7.6 tests/twitter_mock.module \twitter_mock_disable()
  3. 7.3 tests/twitter_mock.module \twitter_mock_disable()
  4. 7.4 tests/twitter_mock.module \twitter_mock_disable()
  5. 7.5 tests/twitter_mock.module \twitter_mock_disable()

Implements hook_disable().

Sets the Twitter API host back to its default value

File

tests/twitter_mock.module, line 25
Module for Mock Twitter API requests

Code

function twitter_mock_disable() {
  variable_del('twitter_api');
}