pbek/ownbackup

View on GitHub
appinfo/app.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * ownCloud - nextbackup
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author Patrizio Bekerle <patrizio@bekerle.com>
 * @copyright Patrizio Bekerle 2015
 */

namespace OCA\NextBackup\AppInfo;

use OCA\NextBackup\Jobs\BackupJob;

// I need this line so NextBackup shows up in ownCloud 8.1.1, but in my ownCloud 8.1.1 development version from git
// it shows up two times because of it
$app = new Application();
$app->registerSettings();

\OC::$server->getJobList()->add( new BackupJob() );