Passed
Push — master ( 222ac9...1d3a52 )
by Daniel
13:10 queued 11s
created
core/register_command.php 1 patch
Indentation   +139 added lines, -139 removed lines patch added patch discarded remove patch
@@ -57,154 +57,154 @@
 block discarded – undo
57 57
 $application->add(new OC\Core\Command\App\CheckCode());
58 58
 $application->add(new OC\Core\Command\L10n\CreateJs());
59 59
 $application->add(new \OC\Core\Command\Integrity\SignApp(
60
-		\OC::$server->getIntegrityCodeChecker(),
61
-		new \OC\IntegrityCheck\Helpers\FileAccessHelper(),
62
-		\OC::$server->getURLGenerator()
60
+        \OC::$server->getIntegrityCodeChecker(),
61
+        new \OC\IntegrityCheck\Helpers\FileAccessHelper(),
62
+        \OC::$server->getURLGenerator()
63 63
 ));
64 64
 $application->add(new \OC\Core\Command\Integrity\SignCore(
65
-		\OC::$server->getIntegrityCodeChecker(),
66
-		new \OC\IntegrityCheck\Helpers\FileAccessHelper()
65
+        \OC::$server->getIntegrityCodeChecker(),
66
+        new \OC\IntegrityCheck\Helpers\FileAccessHelper()
67 67
 ));
68 68
 $application->add(new \OC\Core\Command\Integrity\CheckApp(
69
-		\OC::$server->getIntegrityCodeChecker()
69
+        \OC::$server->getIntegrityCodeChecker()
70 70
 ));
71 71
 $application->add(new \OC\Core\Command\Integrity\CheckCore(
72
-		\OC::$server->getIntegrityCodeChecker()
72
+        \OC::$server->getIntegrityCodeChecker()
73 73
 ));
74 74
 
75 75
 
76 76
 if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
77
-	$application->add(new OC\Core\Command\App\Disable(\OC::$server->getAppManager()));
78
-	$application->add(new OC\Core\Command\App\Enable(\OC::$server->getAppManager(), \OC::$server->getGroupManager()));
79
-	$application->add(new OC\Core\Command\App\Install());
80
-	$application->add(new OC\Core\Command\App\GetPath());
81
-	$application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager()));
82
-	$application->add(new OC\Core\Command\App\Remove(\OC::$server->getAppManager(), \OC::$server->query(\OC\Installer::class), \OC::$server->getLogger()));
83
-	$application->add(\OC::$server->query(\OC\Core\Command\App\Update::class));
84
-
85
-	$application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Cleanup::class));
86
-	$application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enforce::class));
87
-	$application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enable::class));
88
-	$application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Disable::class));
89
-	$application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\State::class));
90
-
91
-	$application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig()));
92
-	$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
93
-	$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
94
-
95
-	$application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));
96
-
97
-	$application->add(new OC\Core\Command\Config\App\DeleteConfig(\OC::$server->getConfig()));
98
-	$application->add(new OC\Core\Command\Config\App\GetConfig(\OC::$server->getConfig()));
99
-	$application->add(new OC\Core\Command\Config\App\SetConfig(\OC::$server->getConfig()));
100
-	$application->add(new OC\Core\Command\Config\Import(\OC::$server->getConfig()));
101
-	$application->add(new OC\Core\Command\Config\ListConfigs(\OC::$server->getSystemConfig(), \OC::$server->getAppConfig()));
102
-	$application->add(new OC\Core\Command\Config\System\DeleteConfig(\OC::$server->getSystemConfig()));
103
-	$application->add(new OC\Core\Command\Config\System\GetConfig(\OC::$server->getSystemConfig()));
104
-	$application->add(new OC\Core\Command\Config\System\SetConfig(\OC::$server->getSystemConfig()));
105
-
106
-	$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory(\OC::$server->getSystemConfig())));
107
-	$application->add(new OC\Core\Command\Db\ConvertMysqlToMB4(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection(), \OC::$server->getURLGenerator(), \OC::$server->getLogger()));
108
-	$application->add(new OC\Core\Command\Db\ConvertFilecacheBigInt(\OC::$server->get(\OC\DB\Connection::class)));
109
-	$application->add(new OC\Core\Command\Db\AddMissingIndices(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
110
-	$application->add(new OC\Core\Command\Db\AddMissingColumns(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
111
-	$application->add(new OC\Core\Command\Db\AddMissingPrimaryKeys(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
112
-
113
-	if (\OC::$server->getConfig()->getSystemValueBool('debug', false)) {
114
-		$application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->get(\OC\DB\Connection::class)));
115
-		$application->add(new OC\Core\Command\Db\Migrations\MigrateCommand(\OC::$server->get(\OC\DB\Connection::class)));
116
-		$application->add(new OC\Core\Command\Db\Migrations\GenerateCommand(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getAppManager()));
117
-		$application->add(new OC\Core\Command\Db\Migrations\ExecuteCommand(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getConfig()));
118
-	}
119
-
120
-	$application->add(new OC\Core\Command\Encryption\Disable(\OC::$server->getConfig()));
121
-	$application->add(new OC\Core\Command\Encryption\Enable(\OC::$server->getConfig(), \OC::$server->getEncryptionManager()));
122
-	$application->add(new OC\Core\Command\Encryption\ListModules(\OC::$server->getEncryptionManager(), \OC::$server->getConfig()));
123
-	$application->add(new OC\Core\Command\Encryption\SetDefaultModule(\OC::$server->getEncryptionManager(), \OC::$server->getConfig()));
124
-	$application->add(new OC\Core\Command\Encryption\Status(\OC::$server->getEncryptionManager()));
125
-	$application->add(new OC\Core\Command\Encryption\EncryptAll(\OC::$server->getEncryptionManager(), \OC::$server->getAppManager(), \OC::$server->getConfig(), new \Symfony\Component\Console\Helper\QuestionHelper()));
126
-	$application->add(new OC\Core\Command\Encryption\DecryptAll(
127
-		\OC::$server->getEncryptionManager(),
128
-		\OC::$server->getAppManager(),
129
-		\OC::$server->getConfig(),
130
-		new \OC\Encryption\DecryptAll(\OC::$server->getEncryptionManager(), \OC::$server->getUserManager(), new \OC\Files\View()),
131
-		new \Symfony\Component\Console\Helper\QuestionHelper())
132
-	);
133
-
134
-	$application->add(new OC\Core\Command\Log\Manage(\OC::$server->getConfig()));
135
-	$application->add(new OC\Core\Command\Log\File(\OC::$server->getConfig()));
136
-
137
-	$view = new \OC\Files\View();
138
-	$util = new \OC\Encryption\Util(
139
-		$view,
140
-		\OC::$server->getUserManager(),
141
-		\OC::$server->getGroupManager(),
142
-		\OC::$server->getConfig()
143
-	);
144
-	$application->add(new OC\Core\Command\Encryption\ChangeKeyStorageRoot(
145
-			$view,
146
-			\OC::$server->getUserManager(),
147
-			\OC::$server->getConfig(),
148
-			$util,
149
-			new \Symfony\Component\Console\Helper\QuestionHelper()
150
-		)
151
-	);
152
-	$application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util));
153
-	$application->add(new OC\Core\Command\Encryption\MigrateKeyStorage(
154
-			$view,
155
-			\OC::$server->getUserManager(),
156
-			\OC::$server->getConfig(),
157
-			$util,
158
-			\OC::$server->getCrypto()
159
-		)
160
-	);
161
-
162
-	$application->add(new OC\Core\Command\Maintenance\DataFingerprint(\OC::$server->getConfig(), new \OC\AppFramework\Utility\TimeFactory()));
163
-	$application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateDB(\OC::$server->getMimeTypeDetector(), \OC::$server->getMimeTypeLoader()));
164
-	$application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateJS(\OC::$server->getMimeTypeDetector()));
165
-	$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
166
-	$application->add(new OC\Core\Command\Maintenance\UpdateHtaccess());
167
-	$application->add(new OC\Core\Command\Maintenance\UpdateTheme(\OC::$server->getMimeTypeDetector(), \OC::$server->getMemCacheFactory()));
168
-
169
-	$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), \OC::$server->query(\OC\Installer::class)));
170
-	$application->add(new OC\Core\Command\Maintenance\Repair(
171
-		new \OC\Repair([], \OC::$server->getEventDispatcher(), \OC::$server->get(LoggerInterface::class)),
172
-		\OC::$server->getConfig(),
173
-		\OC::$server->getEventDispatcher(),
174
-		\OC::$server->getAppManager()
175
-	));
176
-
177
-	$application->add(\OC::$server->query(\OC\Core\Command\Preview\Repair::class));
178
-	$application->add(\OC::$server->query(\OC\Core\Command\Preview\ResetRenderedTexts::class));
179
-
180
-	$application->add(new OC\Core\Command\User\Add(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
181
-	$application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
182
-	$application->add(new OC\Core\Command\User\Disable(\OC::$server->getUserManager()));
183
-	$application->add(new OC\Core\Command\User\Enable(\OC::$server->getUserManager()));
184
-	$application->add(new OC\Core\Command\User\LastSeen(\OC::$server->getUserManager()));
185
-	$application->add(\OC::$server->get(\OC\Core\Command\User\Report::class));
186
-	$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
187
-	$application->add(new OC\Core\Command\User\Setting(\OC::$server->getUserManager(), \OC::$server->getConfig(), \OC::$server->getDatabaseConnection()));
188
-	$application->add(new OC\Core\Command\User\ListCommand(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
189
-	$application->add(new OC\Core\Command\User\Info(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
190
-	$application->add(new OC\Core\Command\User\AddAppPassword(\OC::$server->get(\OCP\IUserManager::class), \OC::$server->get(\OC\Authentication\Token\IProvider::class), \OC::$server->get(\OCP\Security\ISecureRandom::class), \OC::$server->get(\OCP\Security\ICrypto::class)));
191
-
192
-	$application->add(new OC\Core\Command\Group\Add(\OC::$server->getGroupManager()));
193
-	$application->add(new OC\Core\Command\Group\Delete(\OC::$server->getGroupManager()));
194
-	$application->add(new OC\Core\Command\Group\ListCommand(\OC::$server->getGroupManager()));
195
-	$application->add(new OC\Core\Command\Group\AddUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
196
-	$application->add(new OC\Core\Command\Group\RemoveUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
197
-	$application->add(new OC\Core\Command\Group\Info(\OC::$server->get(\OCP\IGroupManager::class)));
198
-
199
-	$application->add(new OC\Core\Command\SystemTag\ListCommand(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
200
-	$application->add(new OC\Core\Command\SystemTag\Delete(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
201
-	$application->add(new OC\Core\Command\SystemTag\Add(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
202
-	$application->add(new OC\Core\Command\SystemTag\Edit(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
203
-
204
-	$application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(), \OC::$server->getL10N('core')));
205
-	$application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager()));
206
-	$application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager()));
207
-	$application->add(new OC\Core\Command\Security\ResetBruteforceAttempts(\OC::$server->getBruteForceThrottler()));
77
+    $application->add(new OC\Core\Command\App\Disable(\OC::$server->getAppManager()));
78
+    $application->add(new OC\Core\Command\App\Enable(\OC::$server->getAppManager(), \OC::$server->getGroupManager()));
79
+    $application->add(new OC\Core\Command\App\Install());
80
+    $application->add(new OC\Core\Command\App\GetPath());
81
+    $application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager()));
82
+    $application->add(new OC\Core\Command\App\Remove(\OC::$server->getAppManager(), \OC::$server->query(\OC\Installer::class), \OC::$server->getLogger()));
83
+    $application->add(\OC::$server->query(\OC\Core\Command\App\Update::class));
84
+
85
+    $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Cleanup::class));
86
+    $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enforce::class));
87
+    $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enable::class));
88
+    $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Disable::class));
89
+    $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\State::class));
90
+
91
+    $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig()));
92
+    $application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
93
+    $application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
94
+
95
+    $application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));
96
+
97
+    $application->add(new OC\Core\Command\Config\App\DeleteConfig(\OC::$server->getConfig()));
98
+    $application->add(new OC\Core\Command\Config\App\GetConfig(\OC::$server->getConfig()));
99
+    $application->add(new OC\Core\Command\Config\App\SetConfig(\OC::$server->getConfig()));
100
+    $application->add(new OC\Core\Command\Config\Import(\OC::$server->getConfig()));
101
+    $application->add(new OC\Core\Command\Config\ListConfigs(\OC::$server->getSystemConfig(), \OC::$server->getAppConfig()));
102
+    $application->add(new OC\Core\Command\Config\System\DeleteConfig(\OC::$server->getSystemConfig()));
103
+    $application->add(new OC\Core\Command\Config\System\GetConfig(\OC::$server->getSystemConfig()));
104
+    $application->add(new OC\Core\Command\Config\System\SetConfig(\OC::$server->getSystemConfig()));
105
+
106
+    $application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory(\OC::$server->getSystemConfig())));
107
+    $application->add(new OC\Core\Command\Db\ConvertMysqlToMB4(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection(), \OC::$server->getURLGenerator(), \OC::$server->getLogger()));
108
+    $application->add(new OC\Core\Command\Db\ConvertFilecacheBigInt(\OC::$server->get(\OC\DB\Connection::class)));
109
+    $application->add(new OC\Core\Command\Db\AddMissingIndices(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
110
+    $application->add(new OC\Core\Command\Db\AddMissingColumns(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
111
+    $application->add(new OC\Core\Command\Db\AddMissingPrimaryKeys(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
112
+
113
+    if (\OC::$server->getConfig()->getSystemValueBool('debug', false)) {
114
+        $application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->get(\OC\DB\Connection::class)));
115
+        $application->add(new OC\Core\Command\Db\Migrations\MigrateCommand(\OC::$server->get(\OC\DB\Connection::class)));
116
+        $application->add(new OC\Core\Command\Db\Migrations\GenerateCommand(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getAppManager()));
117
+        $application->add(new OC\Core\Command\Db\Migrations\ExecuteCommand(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getConfig()));
118
+    }
119
+
120
+    $application->add(new OC\Core\Command\Encryption\Disable(\OC::$server->getConfig()));
121
+    $application->add(new OC\Core\Command\Encryption\Enable(\OC::$server->getConfig(), \OC::$server->getEncryptionManager()));
122
+    $application->add(new OC\Core\Command\Encryption\ListModules(\OC::$server->getEncryptionManager(), \OC::$server->getConfig()));
123
+    $application->add(new OC\Core\Command\Encryption\SetDefaultModule(\OC::$server->getEncryptionManager(), \OC::$server->getConfig()));
124
+    $application->add(new OC\Core\Command\Encryption\Status(\OC::$server->getEncryptionManager()));
125
+    $application->add(new OC\Core\Command\Encryption\EncryptAll(\OC::$server->getEncryptionManager(), \OC::$server->getAppManager(), \OC::$server->getConfig(), new \Symfony\Component\Console\Helper\QuestionHelper()));
126
+    $application->add(new OC\Core\Command\Encryption\DecryptAll(
127
+        \OC::$server->getEncryptionManager(),
128
+        \OC::$server->getAppManager(),
129
+        \OC::$server->getConfig(),
130
+        new \OC\Encryption\DecryptAll(\OC::$server->getEncryptionManager(), \OC::$server->getUserManager(), new \OC\Files\View()),
131
+        new \Symfony\Component\Console\Helper\QuestionHelper())
132
+    );
133
+
134
+    $application->add(new OC\Core\Command\Log\Manage(\OC::$server->getConfig()));
135
+    $application->add(new OC\Core\Command\Log\File(\OC::$server->getConfig()));
136
+
137
+    $view = new \OC\Files\View();
138
+    $util = new \OC\Encryption\Util(
139
+        $view,
140
+        \OC::$server->getUserManager(),
141
+        \OC::$server->getGroupManager(),
142
+        \OC::$server->getConfig()
143
+    );
144
+    $application->add(new OC\Core\Command\Encryption\ChangeKeyStorageRoot(
145
+            $view,
146
+            \OC::$server->getUserManager(),
147
+            \OC::$server->getConfig(),
148
+            $util,
149
+            new \Symfony\Component\Console\Helper\QuestionHelper()
150
+        )
151
+    );
152
+    $application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util));
153
+    $application->add(new OC\Core\Command\Encryption\MigrateKeyStorage(
154
+            $view,
155
+            \OC::$server->getUserManager(),
156
+            \OC::$server->getConfig(),
157
+            $util,
158
+            \OC::$server->getCrypto()
159
+        )
160
+    );
161
+
162
+    $application->add(new OC\Core\Command\Maintenance\DataFingerprint(\OC::$server->getConfig(), new \OC\AppFramework\Utility\TimeFactory()));
163
+    $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateDB(\OC::$server->getMimeTypeDetector(), \OC::$server->getMimeTypeLoader()));
164
+    $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateJS(\OC::$server->getMimeTypeDetector()));
165
+    $application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
166
+    $application->add(new OC\Core\Command\Maintenance\UpdateHtaccess());
167
+    $application->add(new OC\Core\Command\Maintenance\UpdateTheme(\OC::$server->getMimeTypeDetector(), \OC::$server->getMemCacheFactory()));
168
+
169
+    $application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), \OC::$server->query(\OC\Installer::class)));
170
+    $application->add(new OC\Core\Command\Maintenance\Repair(
171
+        new \OC\Repair([], \OC::$server->getEventDispatcher(), \OC::$server->get(LoggerInterface::class)),
172
+        \OC::$server->getConfig(),
173
+        \OC::$server->getEventDispatcher(),
174
+        \OC::$server->getAppManager()
175
+    ));
176
+
177
+    $application->add(\OC::$server->query(\OC\Core\Command\Preview\Repair::class));
178
+    $application->add(\OC::$server->query(\OC\Core\Command\Preview\ResetRenderedTexts::class));
179
+
180
+    $application->add(new OC\Core\Command\User\Add(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
181
+    $application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
182
+    $application->add(new OC\Core\Command\User\Disable(\OC::$server->getUserManager()));
183
+    $application->add(new OC\Core\Command\User\Enable(\OC::$server->getUserManager()));
184
+    $application->add(new OC\Core\Command\User\LastSeen(\OC::$server->getUserManager()));
185
+    $application->add(\OC::$server->get(\OC\Core\Command\User\Report::class));
186
+    $application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
187
+    $application->add(new OC\Core\Command\User\Setting(\OC::$server->getUserManager(), \OC::$server->getConfig(), \OC::$server->getDatabaseConnection()));
188
+    $application->add(new OC\Core\Command\User\ListCommand(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
189
+    $application->add(new OC\Core\Command\User\Info(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
190
+    $application->add(new OC\Core\Command\User\AddAppPassword(\OC::$server->get(\OCP\IUserManager::class), \OC::$server->get(\OC\Authentication\Token\IProvider::class), \OC::$server->get(\OCP\Security\ISecureRandom::class), \OC::$server->get(\OCP\Security\ICrypto::class)));
191
+
192
+    $application->add(new OC\Core\Command\Group\Add(\OC::$server->getGroupManager()));
193
+    $application->add(new OC\Core\Command\Group\Delete(\OC::$server->getGroupManager()));
194
+    $application->add(new OC\Core\Command\Group\ListCommand(\OC::$server->getGroupManager()));
195
+    $application->add(new OC\Core\Command\Group\AddUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
196
+    $application->add(new OC\Core\Command\Group\RemoveUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
197
+    $application->add(new OC\Core\Command\Group\Info(\OC::$server->get(\OCP\IGroupManager::class)));
198
+
199
+    $application->add(new OC\Core\Command\SystemTag\ListCommand(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
200
+    $application->add(new OC\Core\Command\SystemTag\Delete(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
201
+    $application->add(new OC\Core\Command\SystemTag\Add(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
202
+    $application->add(new OC\Core\Command\SystemTag\Edit(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class)));
203
+
204
+    $application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(), \OC::$server->getL10N('core')));
205
+    $application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager()));
206
+    $application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager()));
207
+    $application->add(new OC\Core\Command\Security\ResetBruteforceAttempts(\OC::$server->getBruteForceThrottler()));
208 208
 } else {
209
-	$application->add(\OC::$server->get(\OC\Core\Command\Maintenance\Install::class));
209
+    $application->add(\OC::$server->get(\OC\Core\Command\Maintenance\Install::class));
210 210
 }
Please login to merge, or discard this patch.