aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-29 13:41:00 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-31 14:15:12 +0100
commitefbdad2d0c5ee26fafe48cafb4bf4703b23ea1fd (patch)
tree97bcb0465886f975f356dfc8623deb79d77f9549 /lib/private/legacy
parenta68895e33427483f149e55ae3d6ec30315d8ac96 (diff)
downloadnextcloud-server-efbdad2d0c5ee26fafe48cafb4bf4703b23ea1fd.tar.gz
nextcloud-server-efbdad2d0c5ee26fafe48cafb4bf4703b23ea1fd.zip
Remove OC_App::removeApp
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/app.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index e3da5f350a5..b19d63f560e 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -420,19 +420,6 @@ class OC_App {
}
/**
- * @param string $app
- * @return bool
- */
- public static function removeApp($app) {
- if (\OC::$server->getAppManager()->isShipped($app)) {
- return false;
- }
-
- $installer = \OC::$server->query(Installer::class);
- return $installer->removeApp($app);
- }
-
- /**
* This function set an app as disabled in appconfig.
*
* @param string $app app