diff options
Diffstat (limited to 'lib/private/systemconfig.php')
-rw-r--r-- | lib/private/systemconfig.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/systemconfig.php b/lib/private/systemconfig.php index 3b7930f2842..94b815aebd7 100644 --- a/lib/private/systemconfig.php +++ b/lib/private/systemconfig.php @@ -22,6 +22,9 @@ namespace OC; + +use OCP\IConfig; + /** * Class which provides access to the system config values stored in config.php * Internal class for bootstrap only. @@ -41,8 +44,6 @@ class SystemConfig { 'objectstore' => ['arguments' => ['password' => true]], ]; - const SENSITIVE_VALUE = '***REMOVED SENSITIVE VALUE***'; - /** * Lists all available config keys * @return array an array of key names @@ -115,7 +116,7 @@ class SystemConfig { */ protected function removeSensitiveValue($keysToRemove, $value) { if ($keysToRemove === true) { - return self::SENSITIVE_VALUE; + return IConfig::SENSITIVE_VALUE; } if (is_array($value)) { |