aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-03-31 18:58:59 +0200
committerRobin Appelman <robin@icewind.nl>2023-04-17 16:23:52 +0200
commit60cf0c8f5fc5d61f926765f95ff40625349ec787 (patch)
tree6578bb5416c5c7709100a5c06ed1774d3bf80fe3 /core/register_command.php
parente63720b7140d15cd4c0b080c57c226d9a2dda8a6 (diff)
downloadnextcloud-server-60cf0c8f5fc5d61f926765f95ff40625349ec787.tar.gz
nextcloud-server-60cf0c8f5fc5d61f926765f95ff40625349ec787.zip
add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 3c099519808..4aac7fbf8ce 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -103,6 +103,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Config\System\GetConfig(\OC::$server->getSystemConfig()));
$application->add(new OC\Core\Command\Config\System\SetConfig(\OC::$server->getSystemConfig()));
+ $application->add(\OC::$server->get(OC\Core\Command\Info\File::class));
+
$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory(\OC::$server->getSystemConfig())));
$application->add(new OC\Core\Command\Db\ConvertMysqlToMB4(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection(), \OC::$server->getURLGenerator(), \OC::$server->get(LoggerInterface::class)));
$application->add(new OC\Core\Command\Db\ConvertFilecacheBigInt(\OC::$server->get(\OC\DB\Connection::class)));