Skip to content

Commit

Permalink
Merge pull request #2596 from nextcloud/replace-private-oc-util-with-…
Browse files Browse the repository at this point in the history
…ocp-util

Replace private OC_Util with OCP/Util
  • Loading branch information
danxuliu authored Dec 18, 2019
2 parents 1d4766a + 9d78cfb commit 5fc4e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Flow/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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');
});
}

Expand Down

0 comments on commit 5fc4e2f

Please sign in to comment.