Minahito
minah****@users*****
2006年 10月 7日 (土) 16:46:47 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:1.1.2.2.2.1 xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:removed --- xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:1.1.2.2.2.1 Fri Sep 29 17:14:20 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php Sat Oct 7 16:46:47 2006 @@ -1,27 +0,0 @@ -<?php - -if (!defined('XOOPS_ROOT_PATH')) exit(); - -require_once XOOPS_ROOT_PATH."/core/XCube_UserAccount.class.php"; - -class Legacy_UserAccountAdapter extends XCube_UserAccount -{ - var $mAdaptee; - - function Legacy_UserAccountAdapter(&$xoopsUser) - { - $this->mAdaptee=&$xoopsUser; - } - - function getId() - { - return is_object($this->mAdaptee) ? $this->mAdaptee->uid() : 0; - } - - function isAnonymous() - { - return is_object($this->mAdaptee) ? false : true; - } -} - -?> \ No newline at end of file