Closed (fixed)
Project:
Service links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 12:03 UTC
Updated:
5 Nov 2010 at 09:40 UTC
Hi,
On my taxonomy pages it seems this function is executed which almost kill my server hence I have large vocabularies. Any ideas why?
/**
* Build a array of all taxonomy terms.
*/
function _service_links_get_terms() {
$types = array();
$vocabularies = taxonomy_get_vocabularies();
foreach ($vocabularies as $vocabulary) {
$tree = taxonomy_get_tree($vocabulary->vid);
foreach ($tree as $term) {
$types[$term->tid] = $term->name;
}
}
return $types;
}
Comments
Comment #1
daphisto commentedAlso interested in any info that is available for this as well.
Comment #2
chx commentedThis module is absolutely unusable on any site with a decent sized taxonomy because the moment you touch admin/config/services/service_links (dunno whats that in D6) the server blows up.
Comment #3
TheCrow commentedNow vocabularies have to be selected for include their terms in the list