Webstream support added +minor changes.

This commit is contained in:
tomas 2005-02-09 22:43:38 +00:00
parent 1291e232d6
commit e7e6569e01
5 changed files with 124 additions and 33 deletions

View file

@ -23,7 +23,7 @@
Author : $Author: tomas $
Version : $Revision: 1.19 $
Version : $Revision: 1.20 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/StoredFile.php,v $
------------------------------------------------------------------------------*/
@ -496,7 +496,11 @@ class StoredFile{
WHERE gunid=x'{$this->gunid}'::bigint
");
if(PEAR::isError($indb)) return $indb;
return (!is_null($indb) && $this->rmd->exists());
if(is_null($indb)) return FALSE;
if($this->gb->_getType($this->gunid) == 'audioclip'){
return $this->rmd->exists();
}
return TRUE;
}
/* ==================================================== "private" methods */