From efbdad2d0c5ee26fafe48cafb4bf4703b23ea1fd Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Mon, 29 Jan 2018 13:41:00 +0100 Subject: Remove OC_App::removeApp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/legacy/app.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/private/legacy') 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 @@ -419,19 +419,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. * -- cgit v1.2.3