mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
게시판/블로그의 기존 스킨들을 그대로 사용할 수 있게 하기 위해서 글 작성시에는 무조건 getNextSequece()를 호출하도록 변경. 부하는 크지 않을 것으로 판단
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2576 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5057a6123e
commit
fb75b0d584
2 changed files with 3 additions and 3 deletions
|
|
@ -190,7 +190,7 @@
|
||||||
|
|
||||||
// 지정된 글이 없다면 (신규) 새로운 번호를 만든다
|
// 지정된 글이 없다면 (신규) 새로운 번호를 만든다
|
||||||
if(!$oDocument->isExists()) {
|
if(!$oDocument->isExists()) {
|
||||||
unset($document_srl);
|
$document_srl = getNextSequence();
|
||||||
Context::set('document_srl','');
|
Context::set('document_srl','');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -181,8 +181,8 @@
|
||||||
$oDocument->setDocument($document_srl);
|
$oDocument->setDocument($document_srl);
|
||||||
|
|
||||||
if(!$oDocument->isExists()) {
|
if(!$oDocument->isExists()) {
|
||||||
Context::set('document_srl','');
|
$document_srl = getNextSequence();
|
||||||
$document_srl = null;
|
Context::set('document_srl',$document_srl);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 글을 수정하려고 할 경우 권한이 없는 경우 비밀번호 입력화면으로
|
// 글을 수정하려고 할 경우 권한이 없는 경우 비밀번호 입력화면으로
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue