Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
hevelius committed Dec 28, 2020
1 parent 084c74b commit 3652ddd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions appinfo/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
throw new \Exception('Cannot include autoload. Did you install dependencies using composer?');
}

$app = \OC::$server->query(Application::class);

if (!$app::isEnabled('files_external')) {
$app::enable('files_external');
}

$app = new \OCA\Files_external_onedrive\AppInfo\Application();
$app->register();

2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Nextcloud accesses OneDrive through the Microsoft GRAPH API and uses Oauth2 auth
https://raw.githubusercontent.com/hevelius/files_external_onedrive/master/screenshots/screenshot_2019-07-05%2016-16-28.png
</screenshot>
<dependencies>
<nextcloud min-version="15.0" max-version="21.0"/>
<nextcloud min-version="17.0" max-version="21.0"/>
</dependencies>
<background-jobs>
<job>OCA\Files_external_onedrive\BackgroundJob\RefreshToken</job>
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
"ext-curl": "*"
},

"replace": {
"guzzlehttp/guzzle": "*"
},

"require-dev": {
"phpunit/phpunit": "^8.0"
},
Expand Down

0 comments on commit 3652ddd

Please sign in to comment.