diff --git a/lib/Flow/Operation.php b/lib/Flow/Operation.php index 5ed95dba1d0..ae7ec8cd8fc 100644 --- a/lib/Flow/Operation.php +++ b/lib/Flow/Operation.php @@ -24,7 +24,6 @@ namespace OCA\Talk\Flow; -use OC_Util; use OCA\Talk\Chat\ChatManager; use OCA\Talk\Exceptions\ParticipantNotFoundException; use OCA\Talk\Exceptions\RoomNotFoundException; @@ -37,6 +36,7 @@ use OCP\IURLGenerator; use OCP\IUser; use OCP\IUserSession; +use OCP\Util; use OCP\WorkflowEngine\EntityContext\IDisplayText; use OCP\WorkflowEngine\EntityContext\IUrl; use OCP\WorkflowEngine\IEntity; @@ -84,7 +84,7 @@ public static function register(IEventDispatcher $dispatcher): void { $dispatcher->addListener(FlowManager::EVENT_NAME_REG_OPERATION, function (GenericEvent $event) { $operation = \OC::$server->query(Operation::class); $event->getSubject()->registerOperation($operation); - OC_Util::addScript('spreed', 'flow'); + Util::addScript('spreed', 'flow'); }); }