summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-06-25 01:48:36 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-06-25 01:48:36 -0100
commit856518cdaee39386eb511ee46c8c97f1bc94a4ba (patch)
tree8e759baeab3911f793159aec407b39dcc26beeaa /appinfo
parentad633a712cdacceafc0346bca4069fa1bab3532f (diff)
Notification and Migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php6
-rw-r--r--appinfo/info.xml2
2 files changed, 7 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e61bbf60..5a8c2071 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -33,3 +33,9 @@ namespace OCA\Social\AppInfo;
require_once __DIR__ . '/autoload.php';
+/** @var Application $app */
+$app = \OC::$server->query(Application::class);
+
+$app->checkUpgradeStatus();
+
+
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 2568bb2b..44156d58 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -32,7 +32,7 @@
<repository type="git">https://github.com/nextcloud/social.git</repository>
<screenshot>https://raw.githubusercontent.com/nextcloud/social/master/img/screenshot.png</screenshot>
<dependencies>
- <nextcloud min-version="15" max-version="19"/>
+ <nextcloud min-version="17" max-version="19"/>
<database>pgsql</database>
<database>sqlite</database>
<database>mysql</database>