summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/UpdaterTest.php
diff options
context:
space:
mode:
authorTobia De Koninck <tobia@ledfan.be>2018-02-13 08:03:06 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-03-06 10:45:20 +0100
commit55b9a5d88689f41fa6ae7f7858bc800a495f4b74 (patch)
treeb4edb7fa260532f19267d9e03b11e01dd26cd4e6 /apps/files_sharing/tests/UpdaterTest.php
parent539fdaea1efa7fa35b321031554af8703d00737c (diff)
downloadnextcloud-server-55b9a5d88689f41fa6ae7f7858bc800a495f4b74.tar.gz
nextcloud-server-55b9a5d88689f41fa6ae7f7858bc800a495f4b74.zip
Remove OC_App::disable method
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'apps/files_sharing/tests/UpdaterTest.php')
-rw-r--r--apps/files_sharing/tests/UpdaterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php
index c8d089f54b4..2e044716d07 100644
--- a/apps/files_sharing/tests/UpdaterTest.php
+++ b/apps/files_sharing/tests/UpdaterTest.php
@@ -127,7 +127,7 @@ class UpdaterTest extends TestCase {
$rootView->deleteAll('files_trashin');
if ($status === false) {
- \OC_App::disable('files_trashbin');
+ \OC::$server->getAppManager()->disableApp('files_trashbin');
}
\OC\Files\Filesystem::getLoader()->removeStorageWrapper('oc_trashbin');