Code Duplication    Length = 9-9 lines in 2 locations

lib/Service/ConfigService.php 1 location

@@ 185-193 (lines=9) @@
182
	 *
183
	 * @return string|integer
184
	 */
185
	public function getCloudVersion($complete = false) {
186
		$ver = Util::getVersion();
187
188
		if ($complete) {
189
			return implode('.', $ver);
190
		}
191
192
		return $ver[0];
193
	}
194
}
195

lib/Service/MiscService.php 1 location

@@ 162-170 (lines=9) @@
159
	 *
160
	 * @return string|integer
161
	 */
162
	public function getCloudVersion($complete = false) {
163
		$ver = Util::getVersion();
164
165
		if ($complete) {
166
			return implode('.', $ver);
167
		}
168
169
		return $ver[0];
170
	}
171
172
173
}