function twitter_mock_disable in Twitter 6.5
Same name and namespace in other branches
- 6.4 tests/twitter_mock.module \twitter_mock_disable()
- 7.6 tests/twitter_mock.module \twitter_mock_disable()
- 7.3 tests/twitter_mock.module \twitter_mock_disable()
- 7.4 tests/twitter_mock.module \twitter_mock_disable()
- 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');
}