From fb6ae93d903893a3ba9277dff0a2a74ad445a05c Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Mon, 6 Jul 2015 11:10:34 +0100 Subject: [PATCH] minor change to doc and property declaration re #12064 --- Code/Mantid/Framework/DataHandling/src/CheckMantidVersion.cpp | 4 ++-- Code/Mantid/docs/source/algorithms/CheckMantidVersion-v1.rst | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Code/Mantid/Framework/DataHandling/src/CheckMantidVersion.cpp b/Code/Mantid/Framework/DataHandling/src/CheckMantidVersion.cpp index 0cb5b1da4dd..6c48b319972 100644 --- a/Code/Mantid/Framework/DataHandling/src/CheckMantidVersion.cpp +++ b/Code/Mantid/Framework/DataHandling/src/CheckMantidVersion.cpp @@ -57,8 +57,8 @@ const std::string CheckMantidVersion::summary() const { /** Initialize the algorithm's properties. */ void CheckMantidVersion::init() { - declareProperty("CurrentVersion", "", "The version string of the currently running version", Direction::Output); - declareProperty("MostRecentVersion", "", "The version string of most recent full or patch release available for download", Direction::Output); + declareProperty("CurrentVersion", "", Direction::Output); + declareProperty("MostRecentVersion", "", Direction::Output); declareProperty("IsNewVersionAvailable", false,"True if a newer version is available, otherwise false", Direction::Output); } diff --git a/Code/Mantid/docs/source/algorithms/CheckMantidVersion-v1.rst b/Code/Mantid/docs/source/algorithms/CheckMantidVersion-v1.rst index a7d4fd663cc..3a2c74359ce 100644 --- a/Code/Mantid/docs/source/algorithms/CheckMantidVersion-v1.rst +++ b/Code/Mantid/docs/source/algorithms/CheckMantidVersion-v1.rst @@ -17,11 +17,9 @@ with the date of the current release. This algorithm is run on asynchronously on start-up in release builds and official releases of Mantid. It only outputs messages to the logs and outpus properties, it does not change anything else. -If you want to disable the check on start-up add this to your mantid.user.properties file. +If you want to disable the check on start-up add this to your mantid.user.properties file:: -``` CheckMantidVersion.OnStartup = 0 -``` Usage ----- -- GitLab