Merge pull request #24408 from owncloud/improve-server-container

Improve server container
This commit is contained in:
Thomas Müller 2016-05-03 12:03:09 +02:00
commit 15a479fb96
2 changed files with 14 additions and 3 deletions

View File

@ -837,8 +837,7 @@ class Server extends ServerContainer implements IServerContainer {
} }
/** /**
* For internal use only * @internal For internal use only
*
* @return \OC\SystemConfig * @return \OC\SystemConfig
*/ */
public function getSystemConfig() { public function getSystemConfig() {
@ -1180,7 +1179,7 @@ class Server extends ServerContainer implements IServerContainer {
return $this->query('MountManager'); return $this->query('MountManager');
} }
/* /**
* Get the MimeTypeDetector * Get the MimeTypeDetector
* *
* @return \OCP\Files\IMimeTypeDetector * @return \OCP\Files\IMimeTypeDetector

View File

@ -519,4 +519,16 @@ interface IServerContainer {
* @since 9.0.0 * @since 9.0.0
*/ */
public function getContentSecurityPolicyManager(); public function getContentSecurityPolicyManager();
/**
* @return \OCP\IDateTimeZone
* @since 8.0.0
*/
public function getDateTimeZone();
/**
* @return \OCP\IDateTimeFormatter
* @since 8.0.0
*/
public function getDateTimeFormatter();
} }