Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-18 07:35:54 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-18 07:35:54 +0300
commit9d78cfbaa7e1590ac5eb84afad578581508703b9 (patch)
tree90c69bb833b67d13fb5d83f4bc84a79fbf089727 /lib
parent1d4766ab51f1201fcf46bd018c6f7397314500ee (diff)
Replace private OC_Util with OCP/Util
This makes the app compliant again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Flow/Operation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Flow/Operation.php b/lib/Flow/Operation.php
index 5ed95dba1..ae7ec8cd8 100644
--- a/lib/Flow/Operation.php
+++ b/lib/Flow/Operation.php
@@ -24,7 +24,6 @@ declare(strict_types=1);
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\IL10N;
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 @@ class Operation implements IOperation {
$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');
});
}