From 1921ed77d580547e22c6bba7256f12d7db4b2061 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Aug 2015 10:14:15 -0400 Subject: [PATCH] CLI2: Removed command-specific logic in addContextFilter - This is now driven by command DNA. --- src/CLI2.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 8558d33e2..0d3d7cf96 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -562,16 +562,6 @@ void CLI2::addContextFilter () return; } - // Some commands operate independently of context. - auto cmd = getCommand (); - if (cmd == "undo" || - cmd == "export" || - cmd[0] == '_') - { - context.debug ("Context-free command."); - return; - } - // Detect if UUID or ID is set, and bail out for (auto& a : _args) {