From 9cd10a5c1e97a1018494216f795b157a061c6031 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 9 Aug 2015 13:30:22 -0400 Subject: [PATCH] Legacy: Code cleanup - Removed legacyCheckForDeprecatedColor. --- src/commands/CmdShow.cpp | 1 - src/legacy.cpp | 8 -------- src/main.h | 1 - 3 files changed, 10 deletions(-) diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index 20369ea9e..d38b584bd 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -348,7 +348,6 @@ int CmdShow::execute (std::string& output) } out << legacyCheckForDeprecatedVariables (); - out << legacyCheckForDeprecatedColor (); out << legacyCheckForDeprecatedColumns (); // TODO Check for referenced but missing theme files. diff --git a/src/legacy.cpp b/src/legacy.cpp index 874a1a7a4..a0265961e 100644 --- a/src/legacy.cpp +++ b/src/legacy.cpp @@ -103,14 +103,6 @@ void legacySortColumnMap (std::string& name) } } -//////////////////////////////////////////////////////////////////////////////// -std::string legacyCheckForDeprecatedColor () -{ - // 2014-01-26: Color defs containing '_' removed. - - return ""; -} - //////////////////////////////////////////////////////////////////////////////// std::string legacyCheckForDeprecatedVariables () { diff --git a/src/main.h b/src/main.h index 93d4d4901..d1f663904 100644 --- a/src/main.h +++ b/src/main.h @@ -82,7 +82,6 @@ void sort_tasks (std::vector &, std::vector &, const std::string&); void legacyAttributeCheck (const std::string&); void legacyColumnMap (std::string&); void legacySortColumnMap (std::string&); -std::string legacyCheckForDeprecatedColor (); std::string legacyCheckForDeprecatedVariables (); std::string legacyCheckForDeprecatedColumns (); void legacyAttributeMap (std::string&);