commit
453693122d
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue