summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail')
-rw-r--r--apps/sharebymail/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/sharebymail/appinfo/app.php b/apps/sharebymail/appinfo/app.php
index c1fd39d2a2f..e1bc280821d 100644
--- a/apps/sharebymail/appinfo/app.php
+++ b/apps/sharebymail/appinfo/app.php
@@ -19,4 +19,6 @@
*
*/
-$app = new \OCA\ShareByMail\AppInfo\Application();
+use OCA\ShareByMail\AppInfo\Application;
+
+$app = \OC::$server->query(Application::class);