Skip to content

Commit 224b043

Browse files
fixup! fix: replace deprecated and removed OC\Server getters
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
1 parent 0bdb122 commit 224b043

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

tests/Integration/Db/AliasMapperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
use ChristophWurst\Nextcloud\Testing\DatabaseTransaction;
1313
use ChristophWurst\Nextcloud\Testing\TestCase;
14-
use OC;
1514
use OCA\Mail\Db\Alias;
1615
use OCA\Mail\Db\AliasMapper;
1716
use OCA\Mail\Db\MailAccount;

tests/Integration/Db/CollectedAddressMapperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
use ChristophWurst\Nextcloud\Testing\DatabaseTransaction;
1212
use ChristophWurst\Nextcloud\Testing\TestCase;
13-
use OC;
1413
use OCA\Mail\Db\CollectedAddress;
1514
use OCA\Mail\Db\CollectedAddressMapper;
1615
use OCP\IDBConnection;

tests/Integration/Db/MailAccountMapperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
use ChristophWurst\Nextcloud\Testing\DatabaseTransaction;
1414
use ChristophWurst\Nextcloud\Testing\TestCase;
15-
use OC;
1615
use OCA\Mail\Db\MailAccount;
1716
use OCA\Mail\Db\MailAccountMapper;
1817
use OCP\AppFramework\Db\DoesNotExistException;

tests/Integration/Db/ProvisioningMapperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
use ChristophWurst\Nextcloud\Testing\DatabaseTransaction;
1313
use ChristophWurst\Nextcloud\Testing\TestCase;
14-
use OC;
1514
use OCA\Mail\Db\Provisioning;
1615
use OCA\Mail\Db\ProvisioningMapper;
1716
use OCA\Mail\Exception\ValidationException;

tests/Integration/Framework/ImapTestAccount.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace OCA\Mail\Tests\Integration\Framework;
99

10-
use OC;
1110
use OCA\Mail\Account;
1211
use OCA\Mail\Db\MailAccount;
1312
use OCA\Mail\IMAP\MailboxSync;

tests/Unit/Service/HtmlTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace OCA\Mail\Tests\Unit\Service;
1212

1313
use ChristophWurst\Nextcloud\Testing\TestCase;
14-
use OC;
1514
use OCA\Mail\Service\Html;
1615
use OCP\IRequest;
1716
use OCP\IURLGenerator;

0 commit comments

Comments
 (0)