Add 'No definition' option for default export definition preference. Allows use of legacy nextmatch CSV export with Import/Export app still available

This commit is contained in:
Nathan Gray
2011-11-18 16:01:57 +00:00
parent 38f282bccf
commit 1afba81ce8
6 changed files with 16 additions and 6 deletions

View File

@@ -189,7 +189,9 @@ class resources_hooks
'type' => 'export',
'application' => 'resources'
));
$options = array();
$options = array(
'~nextmatch~' => lang('No definition')
);
$default_def = 'export-resources';
foreach ((array)$definitions->get_definitions() as $identifier)
{