// calibType must be a valid CDB path! (3 level folder structure)
- if(!fDefaultStorage) {
+ if(!fDefaultStorage && !fRaw) {
AliError("Please activate a default storage first!");
return;
}
void AliCDBManager::UnloadFromCache(const char* path){
// unload cached object
+ if(!fActiveStorages.GetEntries()) {
+ AliDebug(2, Form("No active storages. Object \"%s\" is not unloaded from cache", path));
+ return;
+ }
+
AliCDBPath queryPath(path);
if(!queryPath.IsValid()) return;