diff --git a/Code/Mantid/Kernel/inc/MantidKernel/ConfigService.h b/Code/Mantid/Kernel/inc/MantidKernel/ConfigService.h index 7fd04e4e306b6f36137019a3aa5bb704e954db57..a5cc274930355029cf652018e2f96d5756be26bd 100644 --- a/Code/Mantid/Kernel/inc/MantidKernel/ConfigService.h +++ b/Code/Mantid/Kernel/inc/MantidKernel/ConfigService.h @@ -130,7 +130,6 @@ namespace Kernel std::string getOSArchitecture(); std::string getOSVersion(); std::string getCurrentDir(); - std::string getHomeDir(); std::string getTempDir(); private: diff --git a/Code/Mantid/Kernel/src/ConfigService.cpp b/Code/Mantid/Kernel/src/ConfigService.cpp index f226f20864dfe8e75c0867cbfc769346b00fe9c7..5f6ee1fea5396fb67ddd1eb82b9ad409e011cd41 100644 --- a/Code/Mantid/Kernel/src/ConfigService.cpp +++ b/Code/Mantid/Kernel/src/ConfigService.cpp @@ -184,16 +184,7 @@ namespace Kernel { return m_pSysConfig->getString("system.currentDir"); } - - /** Gets the absolute path of the home directory - * - * @returns The absolute path of the home directory - */ - std::string ConfigServiceImpl::getHomeDir() - { - return m_pSysConfig->getString("system.homeDir"); - } - + /** Gets the absolute path of the temp directory * * @returns The absolute path of the temp directory diff --git a/Code/Mantid/Kernel/test/ConfigServiceTest.h b/Code/Mantid/Kernel/test/ConfigServiceTest.h index 7eb695064bcd9227eaf76f492b290dbf466b653a..07451886e57cb8567a4b3cf160adc96d9d2250a7 100644 --- a/Code/Mantid/Kernel/test/ConfigServiceTest.h +++ b/Code/Mantid/Kernel/test/ConfigServiceTest.h @@ -59,7 +59,7 @@ public: TS_ASSERT_LESS_THAN(0, osCompName.length()); //check that the string is not empty TS_ASSERT_LESS_THAN(0, ConfigService::Instance().getOSVersion().length()); //check that the string is not empty TS_ASSERT_LESS_THAN(0, ConfigService::Instance().getCurrentDir().length()); //check that the string is not empty - TS_ASSERT_LESS_THAN(0, ConfigService::Instance().getHomeDir().length()); //check that the string is not empty +// TS_ASSERT_LESS_THAN(0, ConfigService::Instance().getHomeDir().length()); //check that the string is not empty TS_ASSERT_LESS_THAN(0, ConfigService::Instance().getTempDir().length()); //check that the string is not empty }