[Affelio-cvs 956] CVS update: affelio/lib

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 19日 (月) 16:10:20 JST


Index: affelio/lib/AffelioApp.pm
diff -u affelio/lib/AffelioApp.pm:1.17 affelio/lib/AffelioApp.pm:1.18
--- affelio/lib/AffelioApp.pm:1.17	Fri Dec 16 19:24:54 2005
+++ affelio/lib/AffelioApp.pm	Mon Dec 19 16:10:19 2005
@@ -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: AffelioApp.pm,v 1.17 2005/12/16 10:24:54 slash5234 Exp $
+# $Id: AffelioApp.pm,v 1.18 2005/12/19 07:10:19 slash5234 Exp $
 
 package AffelioApp;
 {
@@ -126,6 +126,16 @@
 	    $self->set_owner_mode();
 	}
 
+	if($visitor_type eq "f1"){
+	    $af->getFM->set_attribute_by_afid($visitor_afid,
+					      "last_access",
+			      Affelio::misc::Time::get_timestamp()
+					      );
+	
+	    $af->getFM->incr_attribute_by_afid($visitor_afid,
+					       "count_access");
+	}
+
 	debug_print("AffelioApp::new: end.");
 	return $self;
     }


Affelio-cvs メーリングリストの案内
Back to archive index