Commit a3261ae7 authored by Penny Leach's avatar Penny Leach
Browse files

removing my debugging

parent 1d8ae4fe
...@@ -173,13 +173,9 @@ class PluginArtefactFile extends PluginArtefact { ...@@ -173,13 +173,9 @@ class PluginArtefactFile extends PluginArtefact {
log_info('Beginning resync of filetype list'); log_info('Beginning resync of filetype list');
$currentlist = get_column('artefact_file_file_types', 'description'); $currentlist = get_column('artefact_file_file_types', 'description');
foreach ($currentlist as $c) {
log_debug("c $c and trimmed is " . trim($c));
}
$newlist = xmlize(file_get_contents(get_config('docroot') . 'artefact/file/filetypes.xml')); $newlist = xmlize(file_get_contents(get_config('docroot') . 'artefact/file/filetypes.xml'));
$filetypes = $newlist['filetypes']['#']['filetype']; $filetypes = $newlist['filetypes']['#']['filetype'];
$newfiletypes = array(); $newfiletypes = array();
//log_debug($currentlist);
// Step one: if a filetype is in the new list that is not in the current // Step one: if a filetype is in the new list that is not in the current
// list, add it to the current list. // list, add it to the current list.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment