]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
[tt-rss.git] / include / functions.php
index f10c3a00b0015e650958f17c63d601b189064051..ce7627d5a77cd859600304b989c359a4b50e651e 100755 (executable)
                        "SELECT id FROM ttrss_feeds
                        WHERE feed_url = '$url' AND owner_uid = ".$_SESSION["uid"]);
 
-               if (strlen(FEED_CRYPT_KEY) > 0) {
-                       require_once "crypt.php";
-                       $auth_pass = substr(encrypt_string($auth_pass), 0, 250);
-                       $auth_pass_encrypted = 'true';
-               } else {
-                       $auth_pass_encrypted = 'false';
-               }
-
+               $auth_pass_encrypted = 'false';
                $auth_pass = db_escape_string($auth_pass);
 
                if (db_num_rows($result) == 0) {