Code Duplication    Length = 17-19 lines in 3 locations

settings/Hooks.php 1 location

@@ 58-74 (lines=17) @@
55
	/** @var IL10N */
56
	protected $l;
57
58
	public function __construct(IActivityManager $activityManager,
59
								IUserManager $userManager,
60
								IUserSession $userSession,
61
								IURLGenerator $urlGenerator,
62
								IMailer $mailer,
63
								IConfig $config,
64
								IFactory $languageFactory,
65
								IL10N $l) {
66
		$this->activityManager = $activityManager;
67
		$this->userManager = $userManager;
68
		$this->userSession = $userSession;
69
		$this->urlGenerator = $urlGenerator;
70
		$this->mailer = $mailer;
71
		$this->config = $config;
72
		$this->languageFactory = $languageFactory;
73
		$this->l = $l;
74
	}
75
76
	/**
77
	 * @param string $uid

lib/private/Share20/DefaultShareProvider.php 1 location

@@ 100-117 (lines=18) @@
97
	 * @param IL10N $l
98
	 * @param IURLGenerator $urlGenerator
99
	 */
100
	public function __construct(
101
			IDBConnection $connection,
102
			IUserManager $userManager,
103
			IGroupManager $groupManager,
104
			IRootFolder $rootFolder,
105
			IMailer $mailer,
106
			Defaults $defaults,
107
			IL10N $l,
108
			IURLGenerator $urlGenerator) {
109
		$this->dbConn = $connection;
110
		$this->userManager = $userManager;
111
		$this->groupManager = $groupManager;
112
		$this->rootFolder = $rootFolder;
113
		$this->mailer = $mailer;
114
		$this->defaults = $defaults;
115
		$this->l = $l;
116
		$this->urlGenerator = $urlGenerator;
117
	}
118
119
	/**
120
	 * Return the identifier of this provider.

settings/Mailer/NewUserMailHelper.php 1 location

@@ 72-90 (lines=19) @@
69
	 * @param ICrypto $crypto
70
	 * @param string $fromAddress
71
	 */
72
	public function __construct(Defaults $themingDefaults,
73
								IURLGenerator $urlGenerator,
74
								IFactory $l10nFactory,
75
								IMailer $mailer,
76
								ISecureRandom $secureRandom,
77
								ITimeFactory $timeFactory,
78
								IConfig $config,
79
								ICrypto $crypto,
80
								$fromAddress) {
81
		$this->themingDefaults = $themingDefaults;
82
		$this->urlGenerator = $urlGenerator;
83
		$this->l10nFactory = $l10nFactory;
84
		$this->mailer = $mailer;
85
		$this->secureRandom = $secureRandom;
86
		$this->timeFactory = $timeFactory;
87
		$this->config = $config;
88
		$this->crypto = $crypto;
89
		$this->fromAddress = $fromAddress;
90
	}
91
92
	/**
93
	 * @param IUser $user