- CICacheItem *current = first;
- while(current && strcmp(current->asset->path, asset->path) != 0)
- current = NEXT;
- if(current && current->checked_out) {
- current->checked_out = 0;
- current->Garbage::remove_user();
+ if( !check_outs ) {
+ CICacheItem *current = first;
+ while(current && strcmp(current->asset->path, asset->path) != 0)
+ current = NEXT;
+ if(current && current->checked_out) {
+ current->checked_out = 0;
+ current->Garbage::remove_user();
+ }