Skip to content

Commit 0d9f2e7

Browse files
committed
Cleaned up
1 parent 3cd8f6c commit 0d9f2e7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Commands/Branding/GetCustomAction.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,6 @@ public class GetCustomAction : PnPWebRetrievalsCmdlet<UserCustomAction>
2727

2828
protected override void ExecuteCmdlet()
2929
{
30-
// List<UserCustomAction> actions = new List<UserCustomAction>();
31-
32-
// if (Scope == CustomActionScope.All || Scope == CustomActionScope.Web)
33-
// {
34-
// actions.AddRange(CurrentWeb.GetCustomActions(RetrievalExpressions));
35-
// }
36-
// if (Scope == CustomActionScope.All || Scope == CustomActionScope.Site)
37-
// {
38-
// actions.AddRange(ClientContext.Site.GetCustomActions(RetrievalExpressions));
39-
// }
40-
4130
if (Identity != null)
4231
{
4332
WriteObject(Identity.GetCustomActions(PnPContext, Scope).FirstOrDefault());

0 commit comments

Comments
 (0)