Fixed database initialization script so that it still works when run multiple times. Previously the StorageRoot would be created again for each installation. Added more verbose output about the database initialization. Added checks for is_null() on the return value for StoredFile::Recall*() functions. Do not create the "public" virtual subfolder when creating a new user. Create the root user in the same way that normal users are created.

This commit is contained in:
paul 2007-02-05 14:06:59 +00:00
parent 5c1a858287
commit 2da8161fb7
18 changed files with 266 additions and 221 deletions

View file

@ -263,7 +263,7 @@ class SmilPlaylistAudioElement {
//break;
default:
$ac = StoredFile::RecallByGunid($gunid);
if (PEAR::isError($ac)) {
if (is_null($ac) || PEAR::isError($ac)) {
return $ac;
}
$r = $ac->md->getMetadataElement('dcterms:extent');