You are here

public function sweaver_plugin_styles::sweaver_reset_style_session in Sweaver 7

Same name and namespace in other branches
  1. 6 plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc \sweaver_plugin_styles::sweaver_reset_style_session()

Reset style session.

1 call to sweaver_plugin_styles::sweaver_reset_style_session()
sweaver_plugin_styles::sweaver_form_submit in plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc
Frontend form submit.

File

plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc, line 532
Styles plugin.

Class

sweaver_plugin_styles

Code

public function sweaver_reset_style_session() {
  sweaver_session(NULL, 'loaded_table', TRUE);
  sweaver_session(NULL, 'draft_mode', TRUE);
  sweaver_session(NULL, 'loaded_style', TRUE);
  sweaver_session(NULL, 'sweaver_temp', TRUE);
  ctools_include('object-cache');
  ctools_object_cache_clear('sweaver-styling', 'sweaver-styling');
}