summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--context_ui/context_ui.admin.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/context_ui/context_ui.admin.inc b/context_ui/context_ui.admin.inc
index e80fa66..eeba913 100644
--- a/context_ui/context_ui.admin.inc
+++ b/context_ui/context_ui.admin.inc
@@ -5,13 +5,11 @@
* Context listing form. Allows for quick creation of new contexts.
*/
function context_ui_admin() {
- // rebuild & clear caches
- _block_rehash();
context_invalidate_cache();
$form = array(
'#theme' => 'context_ui_admin',
- '#contexts' => context_load(),
+ '#contexts' => context_load(NULL, TRUE),
);
$form['name'] = array(
'#title' => t('Name'),