Moved all file-related functions from BasicStor into StoredFile class.

Got rid of all the stuff related to GUNID hex-to-int conversion.
Commented out lots of functions that are either not in use or will
no longer work.

Pypo: made things more generic and pluggable, added documentation.
Added the PHP scripts to serve the right info back to pypo.
This commit is contained in:
paul.baranowski 2010-11-12 17:07:01 -05:00
parent 35dc3fd01f
commit 8a58df3093
32 changed files with 2233 additions and 2000 deletions

View file

@ -1417,7 +1417,7 @@ class Transport
"gunid" => $row['gunid'],
"filetype" => "audioclip"
);
$storedFile = $this->gb->bsPutFile($values);
$storedFile = StoredFile::Insert($values);
if (PEAR::isError($storedFile)) {
$mdtrec->setLock(FALSE);
return $storedFile;
@ -1473,7 +1473,7 @@ class Transport
"gunid" => $row['gunid'],
"filetype" => "playlist"
);
$storedFile = $this->gb->bsPutFile($values);
$storedFile = StoredFile::Insert($values);
if (PEAR::isError($storedFile)) {
return $storedFile;
}