getFile method removed - it have used access methods not suitable for html

ui.
This commit is contained in:
tomas 2005-01-17 00:12:05 +00:00
parent b15212839b
commit f93d40215f

View file

@ -23,7 +23,7 @@
Author : $Author: tomas $
Version : $Revision: 1.12 $
Version : $Revision: 1.13 $
Location : $ $
------------------------------------------------------------------------------*/
@ -33,7 +33,7 @@ require_once"gbHtml_h.php";
* storageServer WWW-form interface
*
* @author $Author: tomas $
* @version $Revision: 1.12 $
* @version $Revision: 1.13 $
* @see Alib
* @see GreenBox
*/
@ -211,21 +211,6 @@ switch($_REQUEST['act']){
if(PEAR::isError($r)) $_SESSION['alertMsg'] = $r->getMessage();
$redirUrl = BROWSER."?id=$parid";
break;
/**
* getFile
*
* Call access method and show access path.
* Example only - not really useable.
* TODO: resource should be released by release method call
*
* @param id int, local id of accessed file
*/
case"getFile":
$r = $gb->access($id, $sessid);
if(PEAR::isError($r)) $_SESSION['alertMsg'] = $r->getMessage();
else echo $r;
exit;
break;
/**
* getMdata
*