because we just created things that didn't exist before; if "x/" doesn't
exist, you look up "x/*", then create "x/" and "x/y", looking up "x/*" again may return a cached empty result (or it may not, but best to be safe)
This commit is contained in:
@@ -909,7 +909,6 @@ bool Profile::SaveAllToDir( RString sDir, bool bSignData ) const
|
|||||||
FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR );
|
FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR );
|
||||||
FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR );
|
FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR );
|
||||||
|
|
||||||
// XXX: Why do we need to flush here?
|
|
||||||
FILEMAN->FlushDirCache( sDir );
|
FILEMAN->FlushDirCache( sDir );
|
||||||
|
|
||||||
return bSaved;
|
return bSaved;
|
||||||
|
|||||||
Reference in New Issue
Block a user