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

@ -155,8 +155,9 @@ class uiTransfers
function upload2Hub($id)
{
$gunid = BasicStor::GunidFromId($id);
$type = BasicStor::GetType($gunid);
$media = StoredFile::Recall($id);
$gunid = $media->getGunid();
$type = $media->getType();
switch ($type) {
case 'audioClip':