Code Duplication    Length = 5-5 lines in 2 locations

lib/private/Encryption/DecryptAll.php 2 locations

@@ 100-104 (lines=5) @@
97
		}
98
99
		$this->output->writeln('prepare encryption modules...');
100
		if (\OC::$server->getAppConfig()->getValue('encryption', 'useMasterKey', '0') !== '0') {
101
			if ($this->prepareEncryptionModules($user) === false) {
102
				return false;
103
			}
104
		}
105
		$this->output->writeln(' done.');
106
107
		$this->decryptAllUsersFiles($user);
@@ 196-200 (lines=5) @@
193
		$userNo = 1;
194
		foreach ($userList as $uid) {
195
			$userCount = "$uid ($userNo of $numberOfUsers)";
196
			if (\OC::$server->getAppConfig()->getValue('encryption', 'userSpecificKey', '0') !== '0') {
197
				if ($this->prepareEncryptionModules($uid) === false) {
198
					return false;
199
				}
200
			}
201
			$this->decryptUsersFiles($uid, $progress, $userCount);
202
			$userNo++;
203
		}