Auto stash before rebase of "origin/RecycleCheck"

correction
This commit is contained in:
Leigh 2021-09-10 18:59:23 +02:00
parent 3cd7249750
commit d2fa8902f9

View File

@ -322,7 +322,7 @@
} }
} }
if(!PagePathIsDeleted(page.Path, page.SiteId, _pageList)) if(PagePathIsDeleted(page.Path, page.SiteId, _pageList))
{ {
AddModuleMessage(string.Format(Localizer["Message.Page.Deleted"], _path), MessageType.Warning); AddModuleMessage(string.Format(Localizer["Message.Page.Deleted"], _path), MessageType.Warning);
return; return;
@ -421,6 +421,6 @@
private static bool PagePathIsDeleted(string pagePath, int siteId, List<Page> existingPages) private static bool PagePathIsDeleted(string pagePath, int siteId, List<Page> existingPages)
{ {
return !existingPages.Any(page => page.SiteId == siteId && page.Path == pagePath && page.IsDeleted == true); return existingPages.Any(page => page.SiteId == siteId && page.Path == pagePath && page.IsDeleted == true);
} }
} }