Skip to content

Commit 3918b21

Browse files
committed
fixing composer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent aff5d0e commit 3918b21

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

Diff for: composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"minimum-stability": "stable",
55
"license": "agpl",
66
"config": {
7-
"vendor-dir": "composer/",
87
"optimize-autoloader": true,
98
"classmap-authoritative": true,
109
"autoloader-suffix": "Circles"

Diff for: composer.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/AppInfo/Application.php

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
use OCP\Util;
5555

5656

57+
require_once __DIR__ . '/../../vendor/autoload.php';
58+
59+
5760
/**
5861
* Class Application
5962
*

Diff for: lib/Service/GlobalScaleService.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ public function asyncBroadcast(GSEvent $event): string {
148148
try {
149149
$this->doRequest($request);
150150
} catch (RequestContentException | RequestNetworkException | RequestResultSizeException | RequestServerException $e) {
151-
OC::$server->getLogger()
152-
->logException($e, ['app' => 'circles']);
151+
$this->miscService->e($e);
153152
}
154153

155154
return $wrapper->getToken();

Diff for: lib/Service/MiscService.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ public function log($message, $level = 4) {
7676
}
7777

7878

79+
/**
80+
* @param Exception $e
81+
*/
82+
public function e(Exception $e) {
83+
$this->logger->logException($e, ['app' => 'circles']);
84+
}
85+
86+
7987
/**
8088
* @param $arr
8189
* @param $k
@@ -159,7 +167,6 @@ public function getRealUserId($userId) {
159167
}
160168

161169

162-
163170
/**
164171
* @param string $ident
165172
*

0 commit comments

Comments
 (0)