Tadashi Okoshi
slash****@users*****
2005年 10月 27日 (木) 20:15:01 JST
Index: affelio/bin/get_content.cgi
diff -u affelio/bin/get_content.cgi:1.22 affelio/bin/get_content.cgi:1.23
--- affelio/bin/get_content.cgi:1.22 Mon Oct 24 17:52:49 2005
+++ affelio/bin/get_content.cgi Thu Oct 27 20:15:01 2005
@@ -16,7 +16,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: get_content.cgi,v 1.22 2005/10/24 08:52:49 slash5234 Exp $
+# $Id: get_content.cgi,v 1.23 2005/10/27 11:15:01 slash5234 Exp $
use strict;
@@ -126,7 +126,7 @@
my $referrer = $wi->PTN_URL($q->param("referrer"));
debug_print("get_content: referrer = $referrer\n"); #referrer URL
- my $passAB = $af->{fm}->get_attribute_by_afid($referrer, "password");
+ my $passAB = $af->getFM->get_attribute_by_afid($referrer, "password");
if($passAB eq "" || !defined($passAB)){
error($q,"Parameters are not defined. (1): Your peer does not have shared password with you...");
}
@@ -197,7 +197,7 @@
#Is this visitor a friend of this site?
if($visitor_type < 3){
- my $tmp1 = $af->{fm}->get_attribute_by_afid($visitor_afid, "password");
+ my $tmp1 = $af->getFM->get_attribute_by_afid($visitor_afid, "password");
if($tmp1 ne ""){
$visitor_type = 2;
Index: affelio/bin/recv_mail_ack.cgi
diff -u affelio/bin/recv_mail_ack.cgi:1.8 affelio/bin/recv_mail_ack.cgi:1.9
--- affelio/bin/recv_mail_ack.cgi:1.8 Mon Oct 24 17:52:49 2005
+++ affelio/bin/recv_mail_ack.cgi Thu Oct 27 20:15:01 2005
@@ -16,7 +16,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: recv_mail_ack.cgi,v 1.8 2005/10/24 08:52:49 slash5234 Exp $
+# $Id: recv_mail_ack.cgi,v 1.9 2005/10/27 11:15:01 slash5234 Exp $
use strict;
use lib("../extlib");
@@ -162,7 +162,7 @@
############################################################################
#Add peer to my friends list.
try{
- $af->{fm}->add_friend($peer_af_id,
+ $af->getFM->add_friend($peer_af_id,
$peer_nickname,
$timestamp,
$pass);