Skip to content

Commit a436d62

Browse files
author
Nicholas King
committed
Remove filtering of old deleted apps client side, because they will be cleaned up server side now
1 parent de700ab commit a436d62

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Websites/Websites/Cmdlets/BackupRestore/GetAzureDeletedWebApp.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ public override void ExecuteCmdlet()
6060
}
6161
);
6262

63-
// Filter out deleted sites older than 30 days.
64-
// They can't be restored and eventually will not be returned by the GetDeletedSites API.
65-
deletedSites = deletedSites.Where(ds => ds.DeletionTime >= DateTime.UtcNow.AddDays(-30)).OrderBy(ds => ds.DeletionTime);
66-
6763
if (!string.IsNullOrEmpty(ResourceGroupName))
6864
{
6965

0 commit comments

Comments
 (0)