Exemplo n.º 1
0
		function my_user_access_copy( $fromid, $toid, $user_access_noupdate=0 )
		{
			include_once dirname( dirname(__FILE__) ).'/class/user_access.php' ;
			$user_access = new user_access( $this->mydirname ) ;

			$error = 0 ;
			$error = $user_access->current_user_access_copy( $fromid, $toid, 'group', $user_access_noupdate ) ;
			$error = $user_access->current_user_access_copy( $fromid, $toid, 'user', $user_access_noupdate ) ;
			return $error ;
		}