mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Darthified code
This commit is contained in:
1 parent
5b80c1e4fe
commit
ae64db8a13
198 files changed
+1339
-1305
No files matched your search
@@ -23,10 +23,10 @@ namespace Artemis.Storage.Entities.Profile
|
||||
|
||||
public void UpdateGuid(Guid guid)
|
||||
{
|
||||
var oldGuid = Id;
|
||||
Guid oldGuid = Id;
|
||||
Id = guid;
|
||||
|
||||
var rootFolder = Folders.FirstOrDefault(f => f.ParentId == oldGuid);
|
||||
FolderEntity rootFolder = Folders.FirstOrDefault(f => f.ParentId == oldGuid);
|
||||
if (rootFolder != null)
|
||||
rootFolder.ParentId = Id;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user