Commit 6aa09bf5 authored by Spleshka's avatar Spleshka

Issue #2205499 by Spleshka, anavarre: Fixed PHP Fatal error: Call to undefined...

Issue #2205499 by Spleshka, anavarre: Fixed PHP Fatal error: Call to undefined method ExpireAPI::expireNodeTermPages().
parent 6e1f16f0
......@@ -79,7 +79,7 @@ class ExpireComment implements ExpireInterface {
// Expire comment's node term pages.
$expire_node_term_pages = variable_get('expire_comment_node_term_pages' . $variable_suffix, EXPIRE_COMMENT_NODE_TERM_PAGES);
if (module_exists('taxonomy') && $expire_node_term_pages) {
$urls = ExpireAPI::expireNodeTermPages($node);
$urls = ExpireAPI::expireTermPages($node, 'node');
$expire_urls = array_merge($expire_urls, $urls);
}
......
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