1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

remove some unused code reported by phpmd

This commit is contained in:
Andrew Dolgov
2014-02-19 15:42:52 +04:00
parent 5ba1ddd409
commit 4a80c57c50
12 changed files with 26 additions and 73 deletions

View File

@@ -887,7 +887,6 @@ class Pref_Prefs extends Handler_Protected {
if (!$otp_enabled) {
$secret = $base32->encode(sha1($this->dbh->fetch_result($result, 0, "salt")));
$topt = new \OTPHP\TOTP($secret);
print QRcode::png("otpauth://totp/".urlencode($login).
"?secret=$secret&issuer=".urlencode("Tiny Tiny RSS"));