From 84be60fdcab9b974b58ea027d8cc1e595c910135 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 16 Oct 2015 15:57:12 -0400 Subject: [PATCH] Cleanup: Removed unneeded function --- src/Task.cpp | 3 --- src/legacy.cpp | 6 ------ src/main.h | 1 - 3 files changed, 10 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index aa9571f49..2cf96ce34 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -2196,9 +2196,6 @@ void Task::modify (modType type, bool text_required /* = false */) else throw format (STRING_TASK_INVALID_COL_TYPE, column->type (), name); - - // Warn about deprecated/obsolete attribute usage. - legacyAttributeCheck (name); } } diff --git a/src/legacy.cpp b/src/legacy.cpp index 91b3cf3af..a2efe07a3 100644 --- a/src/legacy.cpp +++ b/src/legacy.cpp @@ -33,12 +33,6 @@ extern Context context; -//////////////////////////////////////////////////////////////////////////////// -void legacyAttributeCheck (const std::string& name) -{ - // 2013-07-25: Deprecated "fg" and "bg" removed. -} - //////////////////////////////////////////////////////////////////////////////// void legacyColumnMap (std::string& name) { diff --git a/src/main.h b/src/main.h index fd8e8f714..ea59fce2b 100644 --- a/src/main.h +++ b/src/main.h @@ -76,7 +76,6 @@ std::string onExpiration (Task&); void sort_tasks (std::vector &, std::vector &, const std::string&); // legacy.cpp -void legacyAttributeCheck (const std::string&); void legacyColumnMap (std::string&); void legacySortColumnMap (std::string&); std::string legacyCheckForDeprecatedVariables ();