From 83f0cfff8d63e9d81c6787298531be1fa3a8e645 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 21 Aug 2024 16:43:54 +0200 Subject: [PATCH] remove old code --- op/op.ImportFS.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/op/op.ImportFS.php b/op/op.ImportFS.php index ad4a4d084..2d88c203d 100644 --- a/op/op.ImportFS.php +++ b/op/op.ImportFS.php @@ -100,7 +100,7 @@ if(!empty($_GET["dropfolderfileform2"])) { } } } -// echo "
";print_r($colmap);echo "
"; +// echo "
";var_dump($colmap);echo "
";exit; if(count($colmap) > 1) { $nameprefix = dirname($dirname).'/'; $allcats = $dms->getDocumentCategories(); @@ -113,8 +113,6 @@ if(!empty($_GET["dropfolderfileform2"])) { $userids[$muser->getLogin()] = $muser; while(!feof($fp)) { if($data = fgetcsv($fp, 0, $csvdelim, $csvencl)) { - $mi = $nameprefix.$data[$colmap['filename']]; -// $metadata[$mi] = array('category'=>array()); $md = array(); $md['attributes'] = array(); foreach($data as $i=>$coldata) { @@ -130,7 +128,6 @@ if(!empty($_GET["dropfolderfileform2"])) { } } //echo "
";print_r($metadata);echo "
"; -//exit; $setfiledate = false; if(isset($_GET['setfiledate']) && $_GET["setfiledate"]) {