$t('cURL'), 'value' => $has_curl ? $t('Enabled') : $t('Not found'), ); if (!$has_curl) { $requirements['uc_authorizenet_curl']['severity'] = REQUIREMENT_ERROR; $requirements['uc_authorizenet_curl']['description'] = $t("Authorize.net requires the PHP cURL library.", array('!curl_url' => 'http://php.net/manual/en/curl.setup.php')); } return $requirements; } /** * Implements hook_uninstall(). */ function uc_authorizenet_uninstall() { // Delete related variables all at once. db_delete('variable') ->condition('name', 'uc_authnet_%', 'LIKE') ->execute(); } /** * Implements hook_update_last_removed(). */ function uc_authorizenet_update_last_removed() { return 3; }