aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 7636ee225..8bc06cd36 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -307,16 +307,12 @@ function invalidateHttpCache(string $username = ''): bool {
return FreshRSS_UserDAO::ctouch($username);
}
-/**
- * @deprecated Use {@see Minz_Request::connectionRemoteAddress()} instead.
- */
+#[Deprecated('Use Minz_Request::connectionRemoteAddress() instead.')]
function connectionRemoteAddress(): string {
return Minz_Request::connectionRemoteAddress();
}
-/**
- * @deprecated Use {@see FreshRSS_http_Util::checkTrustedIP()} instead.
- */
+#[Deprecated('Use FreshRSS_http_Util::checkTrustedIP() instead.')]
function checkTrustedIP(): bool {
return FreshRSS_http_Util::checkTrustedIP();
}