diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-11-30 13:07:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 13:07:30 +0300 |
commit | d95b43e1fdc62a63e915fa47ed616e7ed5cc702c (patch) | |
tree | f9010a9185e8535517bd43ffc0a1bcb4a834f47f | |
parent | ba7b739cc44124c0221335fa3be010fd55bb26d2 (diff) | |
parent | 06b9c1b67d64af9e634552159a2054b11e5fc5b8 (diff) |
Drop deprecated install.php and update.php
-rw-r--r-- | appinfo/info.xml | 3 | ||||
-rw-r--r-- | appinfo/install.php | 22 | ||||
-rw-r--r-- | appinfo/update.php | 22 |
3 files changed, 3 insertions, 44 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index 5e73180..526aaca 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,4 +11,7 @@ <dependencies> <nextcloud min-version="9" max-version="14"/> </dependencies> + <background-jobs> + <job>OCA\Survey_Server\BackgroundJobs\ComputeStatistics</job> + </background-jobs> </info> diff --git a/appinfo/install.php b/appinfo/install.php deleted file mode 100644 index 041376c..0000000 --- a/appinfo/install.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php -/** - * @author Björn Schießle <bjoern@schiessle.org> - * - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * - */ - -\OC::$server->getJobList()->add('OCA\Survey_Server\BackgroundJobs\ComputeStatistics'); diff --git a/appinfo/update.php b/appinfo/update.php deleted file mode 100644 index 041376c..0000000 --- a/appinfo/update.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php -/** - * @author Björn Schießle <bjoern@schiessle.org> - * - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * - */ - -\OC::$server->getJobList()->add('OCA\Survey_Server\BackgroundJobs\ComputeStatistics'); |