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

Back to archive index

Minahito minah****@users*****
2006年 7月 19日 (水) 19:22:04 JST


Index: xoops2jp/html/modules/user/class/users.php
diff -u xoops2jp/html/modules/user/class/users.php:1.1.2.4 xoops2jp/html/modules/user/class/users.php:1.1.2.5
--- xoops2jp/html/modules/user/class/users.php:1.1.2.4	Thu Jul 13 19:55:29 2006
+++ xoops2jp/html/modules/user/class/users.php	Wed Jul 19 19:22:04 2006
@@ -54,7 +54,7 @@
 	//
 	function _loadGroups()
 	{
-		$handler =& xoops_getmodulehandler('groups_users_link');
+		$handler =& xoops_getmodulehandler('groups_users_link', 'user');
 		$links =& $handler->getObjects(new Criteria('uid', $this->get('uid')));
 		foreach ($links as $link) {
 			$this->Groups[] = $link->get('groupid');
@@ -150,7 +150,7 @@
 		if (parent::insert($user, $force)) {
 			$flag = true;
 
-			$handler =& xoops_getmodulehandler('groups_users_link');
+			$handler =& xoops_getmodulehandler('groups_users_link', 'user');
 			$handler->deleteAll(new Criteria('uid', $user->get('uid')), $force);
 
 			foreach ($user->Groups as $gid) {
Index: xoops2jp/html/modules/user/class/avatar.php
diff -u xoops2jp/html/modules/user/class/avatar.php:1.1.2.3 xoops2jp/html/modules/user/class/avatar.php:1.1.2.4
--- xoops2jp/html/modules/user/class/avatar.php:1.1.2.3	Tue Mar 28 22:32:03 2006
+++ xoops2jp/html/modules/user/class/avatar.php	Wed Jul 19 19:22:04 2006
@@ -34,7 +34,7 @@
 	{
 		@unlink(XOOPS_UPLOAD_PATH . "/" . $obj->get('avatar_file'));
 		if (parent::delete($obj)) {
-			$linkHandler =& xoops_getmodulehandler('avatar_user_link');
+			$linkHandler =& xoops_getmodulehandler('avatar_user_link', 'user');
 			$criteria =& new Criteria('avatar_id', $obj->get('avatar_id'));
 			$linkHandler->deleteAll($criteria);
 			


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