Mercurial > hg > orthanc
changeset 7088:3f7ca7c4b2c7 streaming
simplification
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Thu, 13 Aug 2026 08:49:15 +0000 |
| parents | bd182516e363 |
| children | 5de0f5ded9f0 |
| files | OrthancServer/Sources/OrthancConfiguration.h OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp |
| diffstat | 2 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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 {
--- 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();
