module_builder_get_templates() returns templates for requested hooks, even if there is no data for those hooks.

In other words, if you request nodeapi as a hook, then because the common templates have that hook, you get the code for it, even though the hook data doesn't have this.

This is probably best fixed by making templates version-specific....

Comments

joachim’s picture

Version: » 7.x-2.x-dev
Status: Active » Fixed

This I fixed in passing in my big changes at #1096828: make templates version-specific..

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.