Added md5 checksum to FILES table in the database. The XML-RPC function call storeAudioClipOpen now returns error code 888 if the file uploaded is a duplicate of an existing file. Started an upgrade script, but still needs a little bit of work. Removed unused className argument to StoredFile::recall functions. Fixed xr_cli_test.php to use Console_GetOpt PEAR class and fixed code formatting. Fixed code documentation. Fixed some function names to conform to coding standards.
This commit is contained in:
parent
1a8610b37b
commit
997814e78a
16 changed files with 524 additions and 600 deletions
|
@ -292,7 +292,7 @@ class Transport
|
|||
return $ac;
|
||||
}
|
||||
// handle metadata:
|
||||
$mdfpath = $ac->_getRealMDFname();
|
||||
$mdfpath = $ac->getRealMetadataFileName();
|
||||
if (PEAR::isError($mdfpath)) {
|
||||
return $mdfpath;
|
||||
}
|
||||
|
@ -303,11 +303,11 @@ class Transport
|
|||
return $mdtrec;
|
||||
}
|
||||
// handle raw media file:
|
||||
$fpath = $ac->_getRealRADFname();
|
||||
$fpath = $ac->getRealFileName();
|
||||
if (PEAR::isError($fpath)) {
|
||||
return $fpath;
|
||||
}
|
||||
$fname = $ac->_getFileName();
|
||||
$fname = $ac->getFileName();
|
||||
if (PEAR::isError($fname)) {
|
||||
return $fname;
|
||||
}
|
||||
|
@ -329,7 +329,7 @@ class Transport
|
|||
if (PEAR::isError($pl)) {
|
||||
return $pl;
|
||||
}
|
||||
$fname = $pl->_getFileName();
|
||||
$fname = $pl->getFileName();
|
||||
if (PEAR::isError($fname)) {
|
||||
return $fname;
|
||||
}
|
||||
|
@ -352,7 +352,7 @@ class Transport
|
|||
$fname = $fname.".lspl";
|
||||
$trtype = 'playlistPkg';
|
||||
} else {
|
||||
$plfpath = $pl->_getRealMDFname();
|
||||
$plfpath = $pl->getRealMetadataFileName();
|
||||
if (PEAR::isError($plfpath)) {
|
||||
return $plfpath;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue