Blame view

sources/core/register_command.php 1.16 KB
31b7f2792   Kload   Upgrade to ownclo...
1
2
3
4
5
6
7
  <?php
  /**
   * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
   * This file is licensed under the Affero General Public License version 3 or
   * later.
   * See the COPYING-README file.
   */
6d9380f96   Cédric Dupont   Update sources OC...
8
  $repair = new \OC\Repair(\OC\Repair::getRepairSteps());
31b7f2792   Kload   Upgrade to ownclo...
9
10
11
  /** @var $application Symfony\Component\Console\Application */
  $application->add(new OC\Core\Command\Status);
  $application->add(new OC\Core\Command\Db\GenerateChangeScript());
6d9380f96   Cédric Dupont   Update sources OC...
12
  $application->add(new OC\Core\Command\Db\ConvertType(OC_Config::getObject(), new \OC\DB\ConnectionFactory()));
31b7f2792   Kload   Upgrade to ownclo...
13
14
  $application->add(new OC\Core\Command\Upgrade());
  $application->add(new OC\Core\Command\Maintenance\SingleUser());
6d9380f96   Cédric Dupont   Update sources OC...
15
  $application->add(new OC\Core\Command\Maintenance\Mode(OC_Config::getObject()));
31b7f2792   Kload   Upgrade to ownclo...
16
17
18
  $application->add(new OC\Core\Command\App\Disable());
  $application->add(new OC\Core\Command\App\Enable());
  $application->add(new OC\Core\Command\App\ListApps());
6d9380f96   Cédric Dupont   Update sources OC...
19
  $application->add(new OC\Core\Command\Maintenance\Repair($repair, OC_Config::getObject()));
a293d369c   Kload   Update sources to...
20
  $application->add(new OC\Core\Command\User\Report());
6d9380f96   Cédric Dupont   Update sources OC...
21
22
  $application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
  $application->add(new OC\Core\Command\User\LastSeen());