diff --git a/livesupport/modules/storageServer/var/LocStor.php b/livesupport/modules/storageServer/var/LocStor.php
index 754596618..fee10b5e6 100644
--- a/livesupport/modules/storageServer/var/LocStor.php
+++ b/livesupport/modules/storageServer/var/LocStor.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.23 $
+ Version : $Revision: 1.24 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/LocStor.php,v $
------------------------------------------------------------------------------*/
@@ -46,6 +46,7 @@ class LocStor extends BasicStor{
* @param fname string, human readable menmonic file name
* with extension corresponding to filetype
* @param chsum string, md5 checksum of media file
+ * @param ftype string audioclip | playlist
* @return struct {url:writable URL for HTTP PUT, token:access token
*/
function storeAudioClipOpen(
@@ -212,8 +213,8 @@ class LocStor extends BasicStor{
*/
function downloadMetadataOpen($sessid, $gunid)
{
-# $res = $this->existsAudioClip($sessid, $gunid);
-# if(PEAR::isError($res)) return $res;
+// $res = $this->existsAudioClip($sessid, $gunid);
+// if(PEAR::isError($res)) return $res;
$id = $this->_idFromGunid($gunid);
if(is_null($id)){
return PEAR::raiseError(
@@ -271,6 +272,8 @@ class LocStor extends BasicStor{
* (may be empty or ommited only with less then 2 items in
* "conditions" field)
*
+ *
limit : int - limit for result arrays (0 means unlimited)
+ * offset : int - starting point (0 means without offset)
* conditions - array of hashes with structure:
*
* - cat - string, metadata category name
diff --git a/livesupport/modules/storageServer/var/Transport.php b/livesupport/modules/storageServer/var/Transport.php
index 96c91e3fd..6edae93dd 100644
--- a/livesupport/modules/storageServer/var/Transport.php
+++ b/livesupport/modules/storageServer/var/Transport.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.4 $
+ Version : $Revision: 1.5 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/Transport.php,v $
------------------------------------------------------------------------------*/
@@ -388,7 +388,7 @@ class Transport{
'archive.storeAudioClipClose',
array('sessid'=>$asessid, 'token'=>$row['pdtoken'])
);
-# if(PEAR::isError($res)) return $res;
+// if(PEAR::isError($res)) return $res;
if(PEAR::isError($res)){
switch($res->getCode()){
case GBERR_PUT:
@@ -400,7 +400,6 @@ class Transport{
break;
return FALSE;
default:
-# echo $res->getCode()."\n"; exit;
return $res;
}
}
@@ -460,7 +459,7 @@ class Transport{
if(PEAR::isError($uid)) return $uid;
if(is_null($uid)){
return PEAR::raiseError("Transport::downloadFromArchive: ".
- "invalid session id",GBERR_SESS);
+ "invalid session id", GBERR_SESS);
}
$parid = $this->gb->_getHomeDirId($sessid);
if(PEAR::isError($parid)) return $parid;
@@ -873,6 +872,7 @@ class Transport{
* logging wrapper for PEAR error object
*
* @param eo PEAR error object
+ * @param row array returned from getRow
*/
function trLogPear($eo, $row=NULL)
{