function messaging_update_method_disable in Messaging 6
Same name and namespace in other branches
- 6.4 messaging.install \messaging_update_method_disable()
- 6.2 messaging.install \messaging_update_method_disable()
- 6.3 messaging.install \messaging_update_method_disable()
- 7 messaging.install \messaging_update_method_disable()
Disable a sending method and return an alternative one
1 call to messaging_update_method_disable()
- messaging_method_disable in ./
messaging.module - Update messaging method.
File
- ./
messaging.install, line 107
Code
function messaging_update_method_disable($method, $replace) {
// Check that we are not getting rid of the default method
if ($method == messaging_method_default()) {
variable_set('messaging_default_method', $replace);
}
messaging_update_method_update($method, $replace);
return $replace;
}