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

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-14 05:25:56 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-07-14 05:25:56 +0300
commitf8ba6fd428e411164a61da6efb13ef509fd035b7 (patch)
treeeeb13958b904a71799ffec3f38a994fef69e1b01 /lib
parentde9a9818a460ee1a153a9d60f1b0ee93bff296b5 (diff)
Use IBootstrap for the app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/AppInfo/Application.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index d6906d20..4b59bd61 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -26,8 +26,11 @@ declare(strict_types=1);
namespace OCA\Photos\AppInfo;
use OCP\AppFramework\App;
+use OCP\AppFramework\Bootstrap\IBootContext;
+use OCP\AppFramework\Bootstrap\IBootstrap;
+use OCP\AppFramework\Bootstrap\IRegistrationContext;
-class Application extends App {
+class Application extends App implements IBootstrap {
public const APP_ID = 'photos';
public const MIMES = [
@@ -49,4 +52,10 @@ class Application extends App {
public function __construct() {
parent::__construct(self::APP_ID);
}
+
+ public function register(IRegistrationContext $context): void {
+ }
+
+ public function boot(IBootContext $context): void {
+ }
}