[xoops-cvslog 5750] CVS update: xoops2jp/html/modules/user/class

Back to archive index

Minahito minah****@users*****
2006年 11月 10日 (金) 15:19:23 JST


Index: xoops2jp/html/modules/user/class/avatar.php
diff -u xoops2jp/html/modules/user/class/avatar.php:1.1.2.5 xoops2jp/html/modules/user/class/avatar.php:1.1.2.5.2.1
--- xoops2jp/html/modules/user/class/avatar.php:1.1.2.5	Sat Aug  5 15:24:07 2006
+++ xoops2jp/html/modules/user/class/avatar.php	Fri Nov 10 15:19:22 2006
@@ -30,6 +30,15 @@
 	var $mPrimary = "avatar_id";
 	var $mClass = "UserAvatarObject";
 
+	function &createNoavatar()
+	{
+		$ret = $this->create();
+		$ret->set('avatar_id', 0);
+		$ret->set('avatar_name', _DELETE);
+		
+		return $ret;
+	}
+	
 	function delete(&$obj)
 	{
 		@unlink(XOOPS_UPLOAD_PATH . "/" . $obj->get('avatar_file'));


xoops-cvslog メーリングリストの案内
Back to archive index