Move to OCP\Util

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-10-02 21:37:24 +02:00
parent fc68972fd0
commit 5ac3baa050
3 changed files with 4 additions and 5 deletions

View File

@@ -24,7 +24,6 @@
namespace OCA\Deck\AppInfo;
use Exception;
use OC_Util;
use OCA\Deck\Activity\CommentEventHandler;
use OCA\Deck\Capabilities;
use OCA\Deck\Collaboration\Resources\ResourceProvider;
@@ -172,7 +171,7 @@ class ApplicationLegacy extends App {
}
protected function registerCollaborationResources(): void {
$version = OC_Util::getVersion()[0];
$version = \OCP\Util::getVersion()[0];
if ($version < 16) {
return;
}