Commit 4929359a authored by mikeytown2's avatar mikeytown2

#1003534 by yched, mikeytown2: do not hardcode taxonomy/term

parent 4f59d886
......@@ -1554,7 +1554,8 @@ function boost_expire_node($node, $nid = 0, $debug = FALSE) {
foreach ($tids as $tid) {
if (is_numeric($tid)) {
if (BOOST_NO_DATABASE) {
$paths['term' . $tid] = 'taxonomy/term/' . $tid;
$term = taxonomy_get_term($tid);
$paths['term' . $tid] = taxonomy_term_path($term);
}
else {
foreach ($base_dirs as $base_dir) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment