You might want to remove the listing of nodes (as that can get very long) and change:
taxonomy_select_nodes($tid, FALSE, FALSE);
to
taxonomy_select_nodes($tid, FALSE, 1);
This is because you are really only interested that SOMETHING is using it. Another option is to set the third parameter to something like 3 instead and the list the nodes with an ellipsis.
Your return should be faster and less prone to using up tons of memory.
One last suggestion, you might consider just greying out the delete button: $form['actions']['delete']['#disabled'] = TRUE;
Angebot innerhalb von 24 Stunden
Ob ein großes kommerzielles System, oder eine kleine Business Seite, wir schicken ein Angebot ab innerhalb von 24 Stunden nachdem Sie diese Taste drücken: Angebot anfordern
You might want to remove the listing of nodes (as that can get very long) and change:
taxonomy_select_nodes($tid, FALSE, FALSE);
to
taxonomy_select_nodes($tid, FALSE, 1);
This is because you are really only interested that SOMETHING is using it. Another option is to set the third parameter to something like 3 instead and the list the nodes with an ellipsis.
Your return should be faster and less prone to using up tons of memory.
One last suggestion, you might consider just greying out the delete button: $form['actions']['delete']['#disabled'] = TRUE;