Merge pull request #12795 from annando/caps

Fix case
This commit is contained in:
Philipp 2023-02-14 22:27:12 +01:00 committed by GitHub
commit 453693122d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ class Notifications extends BaseApi
$condition = ["`uid` = ? AND (NOT `type` IN (?, ?))", $uid, $condition = ["`uid` = ? AND (NOT `type` IN (?, ?))", $uid,
Post\UserNotification::TYPE_ACTIVITY_PARTICIPATION, Post\UserNotification::TYPE_ACTIVITY_PARTICIPATION,
POST\UserNotification::TYPE_COMMENT_PARTICIPATION]; Post\UserNotification::TYPE_COMMENT_PARTICIPATION];
if (!$request['include_all']) { if (!$request['include_all']) {
$condition = DBA::mergeConditions($condition, ['dismissed' => false]); $condition = DBA::mergeConditions($condition, ['dismissed' => false]);

View file

@ -261,7 +261,7 @@ class HttpClient implements ICanSendHttpRequests
throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0); throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0);
} }
return $urlResult->getURL(); return $urlResult->getUrl();
} }
/** /**