Fix for the bug where you could not upload files (the first part of bug #2114). Converted StoredFile into a real class that mapped the database table properly. Renamed some functions to be consistent with each other and with coding standards.

This commit is contained in:
paul 2007-01-11 19:24:45 +00:00
parent c59a73f506
commit 623be37d8a
13 changed files with 392 additions and 322 deletions

View file

@ -75,7 +75,7 @@ class SmilPlaylist {
if (PEAR::isError($r)) {
return $r;
}
$r = $pl->replaceMetadata($lspl, 'string', 'playlist');
$r = $pl->setMetadata($lspl, 'string', 'playlist');
if (PEAR::isError($r)) {
return $r;
}
@ -262,7 +262,7 @@ class SmilPlaylistAudioElement {
}
//break;
default:
$ac = StoredFile::recallByGunid($gunid);
$ac = StoredFile::RecallByGunid($gunid);
if (PEAR::isError($ac)) {
return $ac;
}