fix Call to undefined method OC\Server::getEventDispatcher()
This commit is contained in:
committed by
Adphi
parent
1e3e6a62ed
commit
50e2b4bbab
@@ -32,7 +32,7 @@ class OccController extends Controller
|
|||||||
|
|
||||||
$this->application = new Application(
|
$this->application = new Application(
|
||||||
OC::$server->getConfig(),
|
OC::$server->getConfig(),
|
||||||
OC::$server->getEventDispatcher(),
|
OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class),
|
||||||
new FakeRequest(),
|
new FakeRequest(),
|
||||||
OC::$server->get(LoggerInterface::class),
|
OC::$server->get(LoggerInterface::class),
|
||||||
OC::$server->query(MemoryInfo::class)
|
OC::$server->query(MemoryInfo::class)
|
||||||
|
|||||||
Reference in New Issue
Block a user