diff --git a/src/bind.inc.php b/src/bind.inc.php index 04253f2..43b9301 100644 --- a/src/bind.inc.php +++ b/src/bind.inc.php @@ -117,17 +117,6 @@ function prepare_meta(\mtgMetaInfo $orig) return $meta; } -function find_struct_plugin(array $plugins, $unit) -{ - foreach($plugins as $plugin) - { - if($plugin instanceof BindStructOverridePlugin && - $plugin->supports($unit)) - return $plugin; - } - return null; -} - function add_twig_support(\Twig\Environment $twig) { $twig->addFunction(new \Twig\TwigFunction('plugins_codegen_decls',