Cleanup: Removed unneeded function

This commit is contained in:
Paul Beckingham 2015-10-16 15:57:12 -04:00
parent 461610aaa6
commit 84be60fdca
3 changed files with 0 additions and 10 deletions

View file

@ -2196,9 +2196,6 @@ void Task::modify (modType type, bool text_required /* = false */)
else else
throw format (STRING_TASK_INVALID_COL_TYPE, column->type (), name); throw format (STRING_TASK_INVALID_COL_TYPE, column->type (), name);
// Warn about deprecated/obsolete attribute usage.
legacyAttributeCheck (name);
} }
} }

View file

@ -33,12 +33,6 @@
extern Context context; extern Context context;
////////////////////////////////////////////////////////////////////////////////
void legacyAttributeCheck (const std::string& name)
{
// 2013-07-25: Deprecated "fg" and "bg" removed.
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void legacyColumnMap (std::string& name) void legacyColumnMap (std::string& name)
{ {

View file

@ -76,7 +76,6 @@ std::string onExpiration (Task&);
void sort_tasks (std::vector <Task>&, std::vector <int>&, const std::string&); void sort_tasks (std::vector <Task>&, std::vector <int>&, const std::string&);
// legacy.cpp // legacy.cpp
void legacyAttributeCheck (const std::string&);
void legacyColumnMap (std::string&); void legacyColumnMap (std::string&);
void legacySortColumnMap (std::string&); void legacySortColumnMap (std::string&);
std::string legacyCheckForDeprecatedVariables (); std::string legacyCheckForDeprecatedVariables ();