Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-30 12:41:08 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-30 12:41:08 +0300
commit06b9c1b67d64af9e634552159a2054b11e5fc5b8 (patch)
treef9010a9185e8535517bd43ffc0a1bcb4a834f47f
parentba7b739cc44124c0221335fa3be010fd55bb26d2 (diff)
Drop deprecated install.php and update.php
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--appinfo/info.xml3
-rw-r--r--appinfo/install.php22
-rw-r--r--appinfo/update.php22
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');