]> git.mxchange.org Git - friendica.git/commitdiff
more cleanup
authorZach Prezkuta <fermion@gmx.com>
Sat, 16 Jun 2012 16:45:26 +0000 (10:45 -0600)
committerZach Prezkuta <fermion@gmx.com>
Sat, 16 Jun 2012 16:45:26 +0000 (10:45 -0600)
include/diaspora.php

index 5be09a7acc50a74b5e2f4bd305c28d3fab60473a..2be266e8af34bc7f218b33d953dc6f7d4cbdf0a9 100755 (executable)
@@ -1866,21 +1866,6 @@ function diaspora_signed_retraction($importer,$xml,$msg) {
        }
        else {
 
-/*             if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
-                       $person = $contact;
-                       $key = $msg['key'];
-               }
-               else {
-                       $person = find_diaspora_person_by_handle($diaspora_handle);     
-
-                       if(is_array($person) && x($person,'pubkey'))
-                               $key = $person['pubkey'];
-                       else {
-                               logger('diaspora_signed_retraction: unable to find author details');
-                               return;
-                       }
-               }*/
-
                $sig_decode = base64_decode($sig);
 
                if(! rsa_verify($signed_data,$sig_decode,$key,'sha256')) {