소스 검색

Load apps that have a dav type set before the dav server plugins

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v15.0.0beta2
Julius Härtl 5 년 전
부모
커밋
5a5d46b1b8
No account linked to committer's email address
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2
    0
      apps/dav/appinfo/app.php
  2. 0
    3
      apps/dav/lib/AppInfo/PluginManager.php

+ 2
- 0
apps/dav/appinfo/app.php 파일 보기

@@ -27,6 +27,8 @@ use OCA\DAV\AppInfo\Application;
use OCA\DAV\CardDAV\CardDavBackend;
use Symfony\Component\EventDispatcher\GenericEvent;

\OC_App::loadApps(['dav']);

$app = new Application();
$app->registerHooks();


+ 0
- 3
apps/dav/lib/AppInfo/PluginManager.php 파일 보기

@@ -103,9 +103,6 @@ class PluginManager {
if (!isset($info['types']) || !in_array('dav', $info['types'], true)) {
continue;
}
// FIXME: switch to public API once available
// load app to make sure its classes are available
\OC_App::loadApp($app);
$this->loadSabrePluginsFromInfoXml($this->extractPluginList($info));
$this->loadSabreCollectionsFromInfoXml($this->extractCollectionList($info));
}

Loading…
취소
저장