fix Too few arguments to function OC\Console\Application::__construct(), 5 passed in /var/www/html/custom_apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected
fix #14 #15 #16 #17
This commit is contained in:
committed by
Adphi
parent
b5087db81b
commit
cc591973a4
@@ -35,7 +35,8 @@ class OccController extends Controller
|
|||||||
OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class),
|
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),
|
||||||
|
OC::$server->get(\OCP\App\IAppManager::class) // Obtain the IAppManager
|
||||||
);
|
);
|
||||||
$this->application->setAutoExit(false);
|
$this->application->setAutoExit(false);
|
||||||
$this->output = new OccOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
$this->output = new OccOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user