You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

register_command.php 1.2KB

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