aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-06-02 21:37:39 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-06-02 21:39:15 +0200
commiteea501b847f2a4b6a8b29d4d2ded7ef86a841f42 (patch)
treea1b35a093cf9590fe2a1d019f2058f7cb5e2a3ce /lib/private/installer.php
parentc8a8c7e93340eaa36586926ca70c8a3959aa4a94 (diff)
downloadnextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.tar.gz
nextcloud-server-eea501b847f2a4b6a8b29d4d2ded7ef86a841f42.zip
various fixes as requested by pr reviewers
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index e2b8aec4c16..df8c015959e 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -77,7 +77,7 @@ class OC_Installer{
throw new \Exception($l->t("App directory already exists"));
}
- if(isset($data['pretent']) and $data['pretent']==true) {
+ if(!empty($data['pretent'])) {
return false;
}
@@ -176,7 +176,7 @@ class OC_Installer{
'appdata' => $appdata
);
} else {
- throw new \Exception('Could fetch app info!');
+ throw new \Exception('Could not fetch app info!');
}
list($extractDir, $path) = self::downloadApp($info);