CLI2: Removed command-specific logic in addContextFilter

- This is now driven by command DNA.
This commit is contained in:
Paul Beckingham 2015-08-02 10:14:15 -04:00
parent 7d5fad721e
commit 1921ed77d5

View file

@ -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)
{