mirror of
https://github.com/netzbegruenung/circles.git
synced 2024-05-13 08:36:06 +02:00
fixing composer
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
aff5d0e3dc
commit
3918b21452
|
@ -4,7 +4,6 @@
|
|||
"minimum-stability": "stable",
|
||||
"license": "agpl",
|
||||
"config": {
|
||||
"vendor-dir": "composer/",
|
||||
"optimize-autoloader": true,
|
||||
"classmap-authoritative": true,
|
||||
"autoloader-suffix": "Circles"
|
||||
|
|
8
composer.lock
generated
8
composer.lock
generated
|
@ -12,12 +12,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/daita/my-small-php-tools.git",
|
||||
"reference": "ca9c257dd640576c072cb50282e15ae51147cfc2"
|
||||
"reference": "35d1c0208ffd195da0e029ac82c42d86bc2cea9e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/ca9c257dd640576c072cb50282e15ae51147cfc2",
|
||||
"reference": "ca9c257dd640576c072cb50282e15ae51147cfc2",
|
||||
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/35d1c0208ffd195da0e029ac82c42d86bc2cea9e",
|
||||
"reference": "35d1c0208ffd195da0e029ac82c42d86bc2cea9e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
],
|
||||
"description": "My small PHP Tools",
|
||||
"time": "2020-09-29T15:30:16+00:00"
|
||||
"time": "2020-11-10T14:02:31+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
|
|
|
@ -54,6 +54,9 @@ use OCP\IServerContainer;
|
|||
use OCP\Util;
|
||||
|
||||
|
||||
require_once __DIR__ . '/../../vendor/autoload.php';
|
||||
|
||||
|
||||
/**
|
||||
* Class Application
|
||||
*
|
||||
|
|
|
@ -148,8 +148,7 @@ class GlobalScaleService {
|
|||
try {
|
||||
$this->doRequest($request);
|
||||
} catch (RequestContentException | RequestNetworkException | RequestResultSizeException | RequestServerException $e) {
|
||||
OC::$server->getLogger()
|
||||
->logException($e, ['app' => 'circles']);
|
||||
$this->miscService->e($e);
|
||||
}
|
||||
|
||||
return $wrapper->getToken();
|
||||
|
|
|
@ -76,6 +76,14 @@ class MiscService {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Exception $e
|
||||
*/
|
||||
public function e(Exception $e) {
|
||||
$this->logger->logException($e, ['app' => 'circles']);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $arr
|
||||
* @param $k
|
||||
|
@ -159,7 +167,6 @@ class MiscService {
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param string $ident
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue