summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2008-08-31 14:49:13 (GMT)
committerSam Boyer2008-08-31 14:49:13 (GMT)
commit119449ac0b34df562698726245b1d73b797cfa5c (patch)
tree05eebcf01a172e1f3e78daac769ba33682761a3b
parent6253c600c5b085eeafde1437fab5485775928a90 (diff)
by douggreen: Updated to use new core function taxonomy_vocabulary_load()
-rw-r--r--arguments/vid.inc2
-rw-r--r--contexts/vocabulary.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/arguments/vid.inc b/arguments/vid.inc
index a227eff..7be5e17 100644
--- a/arguments/vid.inc
+++ b/arguments/vid.inc
@@ -35,7 +35,7 @@ function panels_vid_context($arg = NULL, $conf = NULL, $empty = FALSE) {
return PANELS_ARG_IS_BAD;
}
- $vocabulary = taxonomy_get_vocabulary($arg);
+ $vocabulary = taxonomy_vocabulary_load($arg);
if (!$vocabulary) {
return PANELS_ARG_IS_BAD;
}
diff --git a/contexts/vocabulary.inc b/contexts/vocabulary.inc
index fdf1e5d..7e7cda7 100644
--- a/contexts/vocabulary.inc
+++ b/contexts/vocabulary.inc
@@ -34,7 +34,7 @@ function panels_context_create_vocabulary($empty, $data = NULL, $conf = FALSE) {
}
if ($conf) {
- $data = taxonomy_get_vocabulary($data['vid']);
+ $data = taxonomy_vocabulary_load($data['vid']);
}
if (!empty($data)) {