Skip to content

Commit

Permalink
Merge pull request #9651 from nextcloud/backport/9271/stable13
Browse files Browse the repository at this point in the history
[stable13] Fix undefined variables
  • Loading branch information
MorrisJobke authored May 29, 2018
2 parents b3e9e36 + 57489f1 commit 5c9f2dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/DAV.php
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public function hasUpdated($path, $time) {
if ($response === false) {
if ($path === '') {
// if root is gone it means the storage is not available
throw new StorageNotAvailableException(get_class($e) . ': ' . $e->getMessage());
throw new StorageNotAvailableException('root is gone');
}
return false;
}
Expand Down
4 changes: 1 addition & 3 deletions lib/private/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ public function installApp($appId) {
}

//run appinfo/install.php
if((!isset($data['noinstall']) or $data['noinstall']==false)) {
self::includeAppScript($basedir . '/appinfo/install.php');
}
self::includeAppScript($basedir . '/appinfo/install.php');

$appData = OC_App::getAppInfo($appId);
OC_App::executeRepairSteps($appId, $appData['repair-steps']['install']);
Expand Down

0 comments on commit 5c9f2dd

Please sign in to comment.