#18003387 회원가입시 포인트 지급되지 않는 문제 수정

#17990113 자신이 작성한 글의 댓글 작성 후 댓글 삭제시 포인트 차감되는 문제 수정
#17453338 임시 저장시에는 포인트 지급하지 않고 정상 등록시 포인트가 지급되도록 문제 수정 (포인트 모듈 업데이트 필요)
#17677500 글열람시 포인트가 차감되는 경우 보유 포인트가 차감 포인트보다 작으면 글 내용을 숨겨서 읽지 못하도록 기능 추가 


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6331 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-19 03:35:28 +00:00
parent de9bf0db9a
commit fcf90678f9
6 changed files with 127 additions and 58 deletions

View file

@ -37,10 +37,6 @@
$this->document_srl = null;
return;
}
if ($attribute->member_srl < 0) {
$attribute->member_srl = 0;
$attribute->ipaddress = '0.0.0.0';
}
$this->document_srl = $attribute->document_srl;
$this->lang_code = $attribute->lang_code;
$this->adds($attribute);
@ -387,8 +383,7 @@
$oDocumentController = &getController('document');
if($oDocumentController->updateReadedCount($this)) {
$readed_count = $this->get('readed_count');
$readed_count++;
$this->add('readed_count', $readed_count);
$this->add('readed_count', $readed_count+1);
}
}