Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate fair use of free push service check to new SetupCheck API #42939

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Jan 18, 2024

See #41364

Summary

Migrate fair use of free push service check to new SetupCheck API

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Jan 18, 2024
@come-nc come-nc self-assigned this Jan 18, 2024
@come-nc come-nc added this to the Nextcloud 29 milestone Jan 18, 2024
@come-nc come-nc requested review from nickvergessen, a team, ArtificialOwl, Altahrim and Fenn-CS and removed request for a team January 22, 2024 13:30
@come-nc come-nc force-pushed the enh/migrate-s3tempspace-setupcheck branch from 200804e to 9add64f Compare January 25, 2024 10:48
Base automatically changed from enh/migrate-s3tempspace-setupcheck to master January 25, 2024 12:04
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the enh/migrate-fairuseoffreepushservice-setupcheck branch from d4f9d9b to 67541f2 Compare January 25, 2024 12:06
@come-nc come-nc marked this pull request as ready for review January 25, 2024 12:06
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Check if is fair use of free push service
*/
private function isFairUseOfFreePushService(): bool {
$rateLimitReached = (int) $this->config->getAppValue('notifications', 'rate_limit_reached', '0');

Check notice

Code scanning / Psalm

DeprecatedMethod Note

The method OCP\IConfig::getAppValue has been marked as deprecated
@come-nc come-nc merged commit d4c0d15 into master Jan 25, 2024
54 checks passed
@come-nc come-nc deleted the enh/migrate-fairuseoffreepushservice-setupcheck branch January 25, 2024 16:01
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants