Fix for available config api on stable13

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-06-26 09:49:33 +02:00
parent 18f3a15d79
commit 55ecd832d2
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 5 additions and 2 deletions

View File

@ -77,8 +77,11 @@ class Util {
return \OC_Util::getVersion();
}
public static function hasExtendedSupport(): bool {
return \OC::$server->getConfig()->getSystemValueBool('extendedSupport', false);
/**
* @return bool
*/
public static function hasExtendedSupport() {
return (bool)\OC::$server->getConfig()->getSystemValue('extendedSupport', false);
}
/**