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

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhieF <phie@phie.ovh>2022-01-12 00:25:42 +0300
committerGitHub <noreply@github.com>2022-01-12 00:25:42 +0300
commitc90eacfe1edca6b32fcd33a893cbd721a236ca43 (patch)
treefb7a9626f94829225524040ffe5636d4670d7e22
parentab98a8fbdde267e330a8fb3caea45dbdf7bce123 (diff)
parente2f08502805cefe8bf68b77896959ba9fef7e905 (diff)
Merge pull request #168 from gjanssens/patch-1
Fix runtime error in NextCloud 20.0.11
-rw-r--r--appinfo/app.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 427bfcb..6fcd89f 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -53,7 +53,7 @@ class Application extends App {
});
}
}
-$app = new Application();
+$app = \OC::$server->query(Application::class);
$container = $app->getContainer();
$app->connectWatcher($container);
@@ -86,4 +86,4 @@ $container->query('OCP\INavigationManager')
}
);
-?> \ No newline at end of file
+?>