diff --git a/src/Context.cpp b/src/Context.cpp index 3a0e4a827..a694516df 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -393,20 +393,6 @@ void Context::shadow () */ } -//////////////////////////////////////////////////////////////////////////////// -void Context::disallowModification () const -{ -/* - if (task.size () || - subst.mFrom != "" || - tagAdditions.size () || - tagRemovals.size ()) - throw std::string ("The '") -// + cmd.command - + "' command does not allow further modification of a task."; -*/ -} - //////////////////////////////////////////////////////////////////////////////// void Context::assumeLocations () { diff --git a/src/Context.h b/src/Context.h index 112794d7f..9b9175c1b 100644 --- a/src/Context.h +++ b/src/Context.h @@ -67,7 +67,6 @@ public: void clearMessages (); void clear (); - void disallowModification () const; void decomposeSortField (const std::string&, std::string&, bool&); private: