mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
remove old code
This commit is contained in:
parent
3618a72313
commit
83f0cfff8d
|
@ -100,7 +100,7 @@ if(!empty($_GET["dropfolderfileform2"])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// echo "<pre>";print_r($colmap);echo "</pre>";
|
// echo "<pre>";var_dump($colmap);echo "</pre>";exit;
|
||||||
if(count($colmap) > 1) {
|
if(count($colmap) > 1) {
|
||||||
$nameprefix = dirname($dirname).'/';
|
$nameprefix = dirname($dirname).'/';
|
||||||
$allcats = $dms->getDocumentCategories();
|
$allcats = $dms->getDocumentCategories();
|
||||||
|
@ -113,8 +113,6 @@ if(!empty($_GET["dropfolderfileform2"])) {
|
||||||
$userids[$muser->getLogin()] = $muser;
|
$userids[$muser->getLogin()] = $muser;
|
||||||
while(!feof($fp)) {
|
while(!feof($fp)) {
|
||||||
if($data = fgetcsv($fp, 0, $csvdelim, $csvencl)) {
|
if($data = fgetcsv($fp, 0, $csvdelim, $csvencl)) {
|
||||||
$mi = $nameprefix.$data[$colmap['filename']];
|
|
||||||
// $metadata[$mi] = array('category'=>array());
|
|
||||||
$md = array();
|
$md = array();
|
||||||
$md['attributes'] = array();
|
$md['attributes'] = array();
|
||||||
foreach($data as $i=>$coldata) {
|
foreach($data as $i=>$coldata) {
|
||||||
|
@ -130,7 +128,6 @@ if(!empty($_GET["dropfolderfileform2"])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//echo "<pre>";print_r($metadata);echo "</pre>";
|
//echo "<pre>";print_r($metadata);echo "</pre>";
|
||||||
//exit;
|
|
||||||
|
|
||||||
$setfiledate = false;
|
$setfiledate = false;
|
||||||
if(isset($_GET['setfiledate']) && $_GET["setfiledate"]) {
|
if(isset($_GET['setfiledate']) && $_GET["setfiledate"]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user