projects
/
project/context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
525bcfd
)
Clean up cache clearing.
author
young hahn
Sat, 6 Mar 2010 07:41:08 +0000 (07:41 +0000)
committer
young hahn
Sat, 6 Mar 2010 07:41:08 +0000 (07:41 +0000)
context_ui/context_ui.admin.inc
patch
|
blob
|
blame
|
history
diff --git
a/context_ui/context_ui.admin.inc
b/context_ui/context_ui.admin.inc
index
e80fa66
..
eeba913
100644
(file)
--- 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'),