function twilio_update_7002 in Twilio 7
Enable the twilio_twiml module if necessary.
File
- ./
twilio.install, line 125 - Install and uninstall functions for the twilio module.
Code
function twilio_update_7002() {
$result = db_query('SELECT COUNT(*) FROM {twilio_twiml}')
->fetchField();
if (!empty($result)) {
if (module_enable(array(
'twilio_twiml',
))) {
return "Enabled the Twilio Twiml module.";
}
}
return "Twilio Twiml module was not enabled.";
}