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:
parent
35dc3fd01f
commit
8a58df3093
32 changed files with 2233 additions and 2000 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue