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:
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user