public static function BotchaModel::getQueryResult in BOTCHA Spam Prevention 6.2
5 calls to BotchaModel::getQueryResult()
- BotchaFormModel::getForms in model/
botcha_form.model.inc - BotchaModel::getRecipebooksForms in model/
botcha.model.inc - BotchaModel::getRecipebooksRecipes in model/
botcha.model.inc - BotchaRecipebookModel::getRecipebooks in model/
botcha_recipebook.model.inc - BotchaRecipeModel::getRecipes in model/
botcha_recipe.model.inc
File
- model/
botcha.model.inc, line 123
Class
Code
public static function getQueryResult($query, $query_subs = array(), $error_message = 'Please perform an update via update.php or reinstall the BOTCHA module', $error_message_subs = array()) {
$result_query = db_query($query, $query_subs);
if (!$result_query) {
drupal_set_message($error_message, 'warning');
watchdog('BOTCHA', $error_message, $error_message_subs, WATCHDOG_WARNING);
}
return $result_query;
}