Merge pull request #24408 from owncloud/improve-server-container
Improve server container
This commit is contained in:
commit
15a479fb96
|
@ -837,8 +837,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
}
|
||||
|
||||
/**
|
||||
* For internal use only
|
||||
*
|
||||
* @internal For internal use only
|
||||
* @return \OC\SystemConfig
|
||||
*/
|
||||
public function getSystemConfig() {
|
||||
|
@ -1180,7 +1179,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
return $this->query('MountManager');
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Get the MimeTypeDetector
|
||||
*
|
||||
* @return \OCP\Files\IMimeTypeDetector
|
||||
|
|
|
@ -519,4 +519,16 @@ interface IServerContainer {
|
|||
* @since 9.0.0
|
||||
*/
|
||||
public function getContentSecurityPolicyManager();
|
||||
|
||||
/**
|
||||
* @return \OCP\IDateTimeZone
|
||||
* @since 8.0.0
|
||||
*/
|
||||
public function getDateTimeZone();
|
||||
|
||||
/**
|
||||
* @return \OCP\IDateTimeFormatter
|
||||
* @since 8.0.0
|
||||
*/
|
||||
public function getDateTimeFormatter();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue