]> git.mxchange.org Git - friendica.git/commitdiff
Remove reference to RINO version 2
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 17:06:09 +0000 (12:06 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 17:06:09 +0000 (12:06 -0500)
src/Protocol/DFRN.php

index 60b093159c5faca5ecc0f2859383381658a19cb4..0d92d598cf373e3198736c36337e54c22e7657cc 100644 (file)
@@ -1294,11 +1294,6 @@ class DFRN
 
                        switch ($rino_remote_version) {
                                case 1:
-                               case 2:
-                                       // Force downgrade in case the remote server is still using the deprecated version 2
-                                       $rino = 1;
-                                       $rino_remote_version = 1;
-
                                        $key = openssl_random_pseudo_bytes(16);
                                        $data = self::aesEncrypt($postvars['data'], $key);
                                        break;