summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r--lib/private/legacy/app.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 1db1ce74cdc..876eb98f293 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -345,7 +345,7 @@ class OC_App {
$isDownloaded = $installer->isDownloaded($appId);
if(!$isDownloaded) {
- $state = $installer->downloadApp(
+ $installer->downloadApp(
$appId,
new \OC\App\AppStore\Fetcher\AppFetcher(
\OC::$server->getAppDataDir('appstore'),
@@ -354,18 +354,8 @@ class OC_App {
$config
),
\OC::$server->getHTTPClientService(),
- \OC::$server->getTempManager(),
- \OC::$server->getLogger()
+ \OC::$server->getTempManager()
);
-
- if($state !== true) {
- throw new \Exception(
- sprintf(
- 'Could not download app with id: %s',
- $appId
- )
- );
- }
}
if (!Installer::isInstalled($appId)) {