We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd8f6c commit 0d9f2e7Copy full SHA for 0d9f2e7
src/Commands/Branding/GetCustomAction.cs
@@ -27,17 +27,6 @@ public class GetCustomAction : PnPWebRetrievalsCmdlet<UserCustomAction>
27
28
protected override void ExecuteCmdlet()
29
{
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
41
if (Identity != null)
42
43
WriteObject(Identity.GetCustomActions(PnPContext, Scope).FirstOrDefault());
0 commit comments