mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
fix: Remove deprecated getters in IServerContainer which are not used anymore
For now I left the ones which are called from lib/ Next step is to fix all calls and remove those as well. Also the getters should be removed from the implementation. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
47c0786a3f
commit
c3edaeebba
1 changed files with 0 additions and 213 deletions
|
|
@ -8,9 +8,7 @@ declare(strict_types=1);
|
|||
*/
|
||||
namespace OCP;
|
||||
|
||||
use OCP\Federation\ICloudFederationFactory;
|
||||
use OCP\Federation\ICloudFederationProviderManager;
|
||||
use OCP\Log\ILogFactory;
|
||||
use OCP\Security\IContentSecurityPolicyManager;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
|
|
@ -26,35 +24,6 @@ use Psr\Container\ContainerInterface;
|
|||
* @since 6.0.0
|
||||
*/
|
||||
interface IServerContainer extends ContainerInterface, IContainer {
|
||||
/**
|
||||
* The calendar manager will act as a broker between consumers for calendar information and
|
||||
* providers which actual deliver the calendar information.
|
||||
*
|
||||
* @return \OCP\Calendar\IManager
|
||||
* @since 13.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCalendarManager();
|
||||
|
||||
/**
|
||||
* The calendar resource backend manager will act as a broker between consumers
|
||||
* for calendar resource information an providers which actual deliver the room information.
|
||||
*
|
||||
* @return \OCP\Calendar\Resource\IBackend
|
||||
* @since 14.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCalendarResourceBackendManager();
|
||||
|
||||
/**
|
||||
* The calendar room backend manager will act as a broker between consumers
|
||||
* for calendar room information an providers which actual deliver the room information.
|
||||
*
|
||||
* @return \OCP\Calendar\Room\IBackend
|
||||
* @since 14.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCalendarRoomBackendManager();
|
||||
|
||||
/**
|
||||
* The contacts manager will act as a broker between consumers for contacts information and
|
||||
|
|
@ -77,25 +46,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getRequest();
|
||||
|
||||
/**
|
||||
* Returns the preview manager which can create preview images for a given file
|
||||
*
|
||||
* @return \OCP\IPreview
|
||||
* @since 6.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getPreviewManager();
|
||||
|
||||
/**
|
||||
* Returns the tag manager which can get and set tags for different object types
|
||||
*
|
||||
* @see \OCP\ITagManager::load()
|
||||
* @return \OCP\ITagManager
|
||||
* @since 6.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getTagManager();
|
||||
|
||||
/**
|
||||
* Returns the root folder of ownCloud's data directory
|
||||
*
|
||||
|
|
@ -188,15 +138,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getSecureRandom();
|
||||
|
||||
/**
|
||||
* Returns a CredentialsManager instance
|
||||
*
|
||||
* @return \OCP\Security\ICredentialsManager
|
||||
* @since 9.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCredentialsManager();
|
||||
|
||||
/**
|
||||
* Returns the app config manager
|
||||
*
|
||||
|
|
@ -237,13 +178,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getEncryptionFilesHelper();
|
||||
|
||||
/**
|
||||
* @return \OCP\Encryption\Keys\IStorage
|
||||
* @since 8.1.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getEncryptionKeyStorage();
|
||||
|
||||
/**
|
||||
* Returns the URL generator
|
||||
*
|
||||
|
|
@ -298,15 +232,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getDatabaseConnection();
|
||||
|
||||
/**
|
||||
* Returns an avatar manager, used for avatar functionality
|
||||
*
|
||||
* @return \OCP\IAvatarManager
|
||||
* @since 6.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getAvatarManager();
|
||||
|
||||
/**
|
||||
* Returns an job list for controlling background jobs
|
||||
*
|
||||
|
|
@ -316,24 +241,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getJobList();
|
||||
|
||||
/**
|
||||
* returns a log factory instance
|
||||
*
|
||||
* @return ILogFactory
|
||||
* @since 14.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getLogFactory();
|
||||
|
||||
/**
|
||||
* Returns a router for generating and matching urls
|
||||
*
|
||||
* @return \OCP\Route\IRouter
|
||||
* @since 7.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getRouter();
|
||||
|
||||
/**
|
||||
* Get the certificate manager
|
||||
*
|
||||
|
|
@ -352,26 +259,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getHTTPClientService();
|
||||
|
||||
/**
|
||||
* Get the active event logger
|
||||
*
|
||||
* @return \OCP\Diagnostics\IEventLogger
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getEventLogger();
|
||||
|
||||
/**
|
||||
* Get the active query logger
|
||||
*
|
||||
* The returned logger only logs data when debug mode is enabled
|
||||
*
|
||||
* @return \OCP\Diagnostics\IQueryLogger
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getQueryLogger();
|
||||
|
||||
/**
|
||||
* Get the manager for temporary files and folders
|
||||
*
|
||||
|
|
@ -399,28 +286,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getWebRoot();
|
||||
|
||||
/**
|
||||
* @return \OCP\Files\Config\IMountProviderCollection
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getMountProviderCollection();
|
||||
|
||||
/**
|
||||
* Get the IniWrapper
|
||||
*
|
||||
* @return \bantu\IniGetWrapper\IniGetWrapper
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getIniWrapper();
|
||||
/**
|
||||
* @return \OCP\Command\IBus
|
||||
* @since 8.1.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCommandBus();
|
||||
|
||||
/**
|
||||
* Creates a new mailer
|
||||
*
|
||||
|
|
@ -473,42 +338,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getNotificationManager();
|
||||
|
||||
/**
|
||||
* @return \OCP\Comments\ICommentsManager
|
||||
* @since 9.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCommentsManager();
|
||||
|
||||
/**
|
||||
* Returns the system-tag manager
|
||||
*
|
||||
* @return \OCP\SystemTag\ISystemTagManager
|
||||
*
|
||||
* @since 9.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getSystemTagManager();
|
||||
|
||||
/**
|
||||
* Returns the system-tag object mapper
|
||||
*
|
||||
* @return \OCP\SystemTag\ISystemTagObjectMapper
|
||||
*
|
||||
* @since 9.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getSystemTagObjectMapper();
|
||||
|
||||
/**
|
||||
* Returns the share manager
|
||||
*
|
||||
* @return \OCP\Share\IManager
|
||||
* @since 9.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getShareManager();
|
||||
|
||||
/**
|
||||
* @return IContentSecurityPolicyManager
|
||||
* @since 9.0.0
|
||||
|
|
@ -516,20 +345,6 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getContentSecurityPolicyManager();
|
||||
|
||||
/**
|
||||
* @return \OCP\IDateTimeZone
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getDateTimeZone();
|
||||
|
||||
/**
|
||||
* @return \OCP\IDateTimeFormatter
|
||||
* @since 8.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getDateTimeFormatter();
|
||||
|
||||
/**
|
||||
* @return \OCP\Federation\ICloudIdManager
|
||||
* @since 12.0.0
|
||||
|
|
@ -544,38 +359,10 @@ interface IServerContainer extends ContainerInterface, IContainer {
|
|||
*/
|
||||
public function getGlobalScaleConfig();
|
||||
|
||||
/**
|
||||
* @return ICloudFederationFactory
|
||||
* @since 14.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCloudFederationFactory();
|
||||
|
||||
/**
|
||||
* @return ICloudFederationProviderManager
|
||||
* @since 14.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getCloudFederationProviderManager();
|
||||
|
||||
/**
|
||||
* @return \OCP\Remote\Api\IApiFactory
|
||||
* @since 13.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getRemoteApiFactory();
|
||||
|
||||
/**
|
||||
* @return \OCP\Remote\IInstanceFactory
|
||||
* @since 13.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getRemoteInstanceFactory();
|
||||
|
||||
/**
|
||||
* @return \OCP\Files\Storage\IStorageFactory
|
||||
* @since 15.0.0
|
||||
* @deprecated 20.0.0 have it injected or fetch it through \Psr\Container\ContainerInterface::get
|
||||
*/
|
||||
public function getStorageFactory();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue