removed unusable watchdog

This commit is contained in:
Bachir Soussi Chiadmi 2014-07-11 16:29:32 +02:00
parent 854a6cc680
commit 6c4d1ed8f5

View File

@ -236,7 +236,6 @@ function materio_search_api_results_search(){
catch (SearchApiException $e) {
$ret['message'] = t('An error occurred while executing the search. Please try again or contact the site administrator if the problem persists.');
watchdog('materiobasemod', 'search error: !msg.', array('!msg' => $e->getMessage()), WATCHDOG_ERROR, l(t('search page'), $_GET['q']));
watchdog('materiobasemod', 'search error: !language.', array('!language' => print_r($language, true)), WATCHDOG_ERROR, l(t('search page'), $_GET['q']));
}
// dsm($results, 'results');