1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:15:56 +00:00

move startup checks to Config, set a bunch of @deprecated annotations

This commit is contained in:
Andrew Dolgov
2021-03-01 10:20:21 +03:00
parent b05d4e3d9f
commit 7ef72fe0dc
15 changed files with 269 additions and 265 deletions

View File

@@ -18,7 +18,7 @@ class Auth_Remote extends Auth_Base {
}
function get_login_by_ssl_certificate() {
$cert_serial = get_ssl_certificate_id();
$cert_serial = Pref_Prefs::_get_ssl_certificate_id();
if ($cert_serial) {
$sth = $this->pdo->prepare("SELECT login FROM ttrss_user_prefs2, ttrss_users

View File

@@ -292,7 +292,7 @@ class Bookmarklets extends Plugin {
print_error("Not logged in");
?>
<form action="public.php?return=<?= urlencode(make_self_url()) ?>" method="post">
<form action="public.php?return=<?= urlencode(Config::make_self_url()) ?>" method="post">
<input type="hidden" name="op" value="login">