Followup to #23245
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
use OC\Command\QueueBus;
use OC\Files\Filesystem;
use OC\Template\Base;
+use OCP\Command\IBus;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\Defaults;
use OCP\IDBConnection;
// overwrite the command bus with one we can run ourselves
$this->commandBus = new QueueBus();
$this->overwriteService('AsyncCommandBus', $this->commandBus);
+ $this->overwriteService(IBus::class, $this->commandBus);
// detect database access
self::$wasDatabaseAllowed = true;