function closeblock_ajax_callback in Close Block 6
Same name and namespace in other branches
- 7 includes/closeblock.api.inc \closeblock_ajax_callback()
 
Ajax callback function.
1 string reference to 'closeblock_ajax_callback'
- closeblock_menu in ./
closeblock.module  - Implements hook_menu().
 
File
- includes/
closeblock.api.inc, line 216  
Code
function closeblock_ajax_callback($module, $delta) {
  global $theme, $user;
  $current_theme = $theme ? $theme : variable_get('theme_default', 'garland');
  $params = array(
    'uid' => $user->uid,
    'theme' => $current_theme,
    'module' => $module,
    'delta' => $delta,
  );
  closeblock_closing_info_set($params);
}