/** * Additional data to update after a save call (such as denormalized values in other tables). * In batch updates, is executed once after all records are updated. * * @param boolean Do the query? */ function post_save_once($doquery = true) { parent::post_save_once($doquery); if (!empty($this->moderator['userid'])) { vB_Cache::allCacheEvent('userChg_' . $this->moderator['userid']); } vB::getUserContext()->rebuildGroupAccess(); }
public function post_save_once($doquery = true) { parent::post_save_once($doquery); require_once DIR . '/includes/adminfunctions_template.php'; //print_rebuild_style(-1, '', 0, 1, 1, 0, false); build_style(-1, '', array('docss' => 0, 'dostylevars' => 1, 'doreplacements' => 0, 'doposteditor' => 0), '-1,1', '', false, false); }
/** * Additional data to update after a save call (such as denormalized values in other tables). * In batch updates, is executed once after all records are updated. * * @param boolean Do the query? */ function post_save_once($doquery = true) { require_once DIR . '/includes/functions_calendar.php'; build_events(); return parent::post_save_once($doquery); }