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:
authorPhie <phie@phie.ovh>2019-04-09 03:13:45 +0300
committerPhie <phie@phie.ovh>2019-04-09 03:13:45 +0300
commit8081be9f755d6f356fe74f15469db763f0edd56d (patch)
treeceed107b56874c087ae22b820811ddab99d62022 /appinfo
parent0fd5ee3074a6938e9e87f8df24c9d9659cc3cbd4 (diff)
cache builder
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php3
-rwxr-xr-xappinfo/info.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 39b15ca..3d2ee0b 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -42,6 +42,9 @@ class Application extends App {
return $c->query('ServerContainer')->getConfig();
});
+ $container->registerService('UserManager', function($c) {
+ return $c->query('ServerContainer')->getUserManager();
+ });
$this->connectWatcher($container);
}
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 6447283..e666f3b 100755
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -45,6 +45,7 @@ Mac, with sync capabilities
</settings>
<commands>
<command>OCA\Carnet\Command\Search</command>
+ <command>OCA\Carnet\Command\Cache</command>
</commands>
</info>