function getlocations_mapquest_regenerate_markers in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_mapquest/getlocations_mapquest.module \getlocations_mapquest_regenerate_markers()
Function
Return value
Returns
2 calls to getlocations_mapquest_regenerate_markers()
- getlocations_mapquest_flush_caches in modules/getlocations_mapquest/ getlocations_mapquest.module 
- Implements hook_flush_caches().
- _getlocations_mapquest_rebuild_marker_js_submit in modules/getlocations_mapquest/ getlocations_mapquest.module 
- Rebuild marker js.
File
- modules/getlocations_mapquest/ getlocations_mapquest.module, line 971 
- getlocations_mapquest.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_mapquest_regenerate_markers() {
  $icons = getlocations_mapquest_get_icondata(TRUE);
  if (!$icons) {
    // no markers found
    drupal_set_message(t('No markers found, you need to install some markers, please see the project page for details.'), 'error');
    watchdog('getlocations_mapquest', 'No markers found.', array(), WATCHDOG_ERROR);
    return FALSE;
  }
  return TRUE;
}