Tadashi Okoshi
slash****@users*****
2006年 6月 1日 (木) 15:34:12 JST
Index: affelio/lib/Affelio/App/Standalone/Admin/MakeAffelioLink.pm
diff -u affelio/lib/Affelio/App/Standalone/Admin/MakeAffelioLink.pm:1.2 affelio/lib/Affelio/App/Standalone/Admin/MakeAffelioLink.pm:1.3
--- affelio/lib/Affelio/App/Standalone/Admin/MakeAffelioLink.pm:1.2 Tue Mar 28 18:15:22 2006
+++ affelio/lib/Affelio/App/Standalone/Admin/MakeAffelioLink.pm Thu Jun 1 15:34:12 2006
@@ -14,7 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: MakeAffelioLink.pm,v 1.2 2006/03/28 09:15:22 slash5234 Exp $
+# $Id: MakeAffelioLink.pm,v 1.3 2006/06/01 06:34:12 slash5234 Exp $
package Affelio::App::Standalone::Admin::MakeAffelioLink;
{
@@ -94,7 +94,9 @@
my_nickname => $af->{user__nickname},
my_AFID => $af->{site__user_afid},
mesg => $my_mesg,
- timestamp => $cur_time);
+ timestamp => $cur_time,
+ my_affelio_type => "Personal",
+ af => $af);
}catch Affelio::exception::InvalidInputException with{
my $E = shift;
$output_ref->{err_title} = "<AF_M text='URL value is not valid.'>";
@@ -114,18 +116,19 @@
###########################################
# Save peer's info into pending_DB
###########################################
- my $tmpdb= new Affelio::SNS::Handshaker_tmpDB($af);
- try{
- $tmpdb->add_sent_Handshake($cur_time,
- $dest_uri,
- "",
- $cur_time,
- $my_DH_pri_key_str);
- }catch Error with{
- my $E = shift;
- $output_ref->{err_title} = "<AF_M text='Access to local DB failed. System error occured.'>";
- $output_ref->{err_msg} = "01-01-04: " . $E;
- };
+# my $tmpdb= new Affelio::SNS::Handshaker_tmpDB($af);
+# try{
+# $tmpdb->add_sent_Handshake($cur_time,
+# $dest_uri,
+# "",
+# $cur_time,
+# $my_DH_pri_key_str,
+# "Personal");
+# }catch Error with{
+# my $E = shift;
+# $output_ref->{err_title} = "<AF_M text='Access to local DB failed. System error occured.'>";
+# $output_ref->{err_msg} = "01-01-04: " . $E;
+# };
if($output_ref->{err_title}){ return; }
$output_ref->{ret_msg} = "<AF_M text='AffelioLink request has been sent to ' param='$dest_uri'>";