Commented out my test functionality which replaces any duplicate file uploaded through the web interface
This commit is contained in:
parent
488dad1fd9
commit
16ca32ab29
1 changed files with 4 additions and 4 deletions
|
@ -147,10 +147,10 @@ class uiHandler extends uiBase {
|
||||||
$this->redirUrl = UI_BROWSER."?act=addFileData&folderId=".$formdata['folderId'];
|
$this->redirUrl = UI_BROWSER."?act=addFileData&folderId=".$formdata['folderId'];
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
$duplicate->delete();
|
//$duplicate->delete();
|
||||||
// $this->_retMsg('The file "'.basename($formdata['mediafile']['name']).'" already exists in the database.');
|
$this->_retMsg('The file "'.basename($formdata['mediafile']['name']).'" already exists in the database.');
|
||||||
// $this->redirUrl = UI_BROWSER."?act=addFileData&folderId=".$formdata['folderId'];
|
$this->redirUrl = UI_BROWSER."?act=addFileData&folderId=".$formdata['folderId'];
|
||||||
// return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue