# HG changeset patch # User Sebastien Jodogne # Date 1786610955 0 # Node ID 3f7ca7c4b2c7545d7f34cf5a5cfecdb3a9de41fd # Parent bd182516e363233486b1831c8c91e5cb7896ba01 simplification diff -r bd182516e363 -r 3f7ca7c4b2c7 OrthancServer/Sources/OrthancConfiguration.h --- a/OrthancServer/Sources/OrthancConfiguration.h Thu Aug 13 08:41:47 2026 +0000 +++ b/OrthancServer/Sources/OrthancConfiguration.h Thu Aug 13 08:49:15 2026 +0000 @@ -318,11 +318,6 @@ std::string GetOrthancAET() const; - std::string GetOrthancName() const - { - return GetStringParameter(ORTHANC_CONFIG_NAME); - } - std::string GetMaximumStorageMode() const { return GetStringParameter(ORTHANC_CONFIG_MAXIMUM_STORAGE_MODE); @@ -332,10 +327,6 @@ { return GetStringParameter(ORTHANC_CONFIG_DICOM_DEFAULT_RETRIEVE_METHOD); } - unsigned int GetMaximumStorageCacheSize() const - { - return GetUnsignedIntegerParameter(ORTHANC_CONFIG_MAXIMUM_STORAGE_CACHE_SIZE); - } unsigned int GetMaximumStorageSize() const { diff -r bd182516e363 -r 3f7ca7c4b2c7 OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Thu Aug 13 08:41:47 2026 +0000 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Thu Aug 13 08:49:15 2026 +0000 @@ -176,7 +176,7 @@ { OrthancConfiguration::ReaderLock lock; - result[ORTHANC_CONFIG_NAME] = lock.GetConfiguration().GetOrthancName(); + result[ORTHANC_CONFIG_NAME] = lock.GetConfiguration().GetStringParameter(ORTHANC_CONFIG_NAME); result[ORTHANC_CONFIG_DICOM_AET] = lock.GetConfiguration().GetOrthancAET(); result[ORTHANC_CONFIG_DICOM_PORT] = lock.GetConfiguration().GetDicomPort(); result[ORTHANC_CONFIG_HTTP_PORT] = lock.GetConfiguration().GetHttpPort();