From 9d78cfbaa7e1590ac5eb84afad578581508703b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Wed, 18 Dec 2019 05:35:54 +0100 Subject: [PATCH] Replace private OC_Util with OCP/Util MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the app compliant again. Signed-off-by: Daniel Calviño Sánchez --- lib/Flow/Operation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }); }