refactoring
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@523 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -37,29 +37,10 @@ void Content::PostFunCreateThread()
|
||||
if( !CheckRebus() )
|
||||
{
|
||||
request.status = Error::rebus_bad_answer;
|
||||
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
request.item.url = request.PostVar("url");
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
}
|
||||
|
||||
request.item.subject = request.PostVar("subject");
|
||||
|
||||
|
||||
request.item.content = request.PostVar("content");
|
||||
|
||||
|
||||
SetUser();
|
||||
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
}
|
||||
request.PostVar("url", request.item.url);
|
||||
request.PostVar("subject", request.item.subject);
|
||||
request.PostVar("content", request.item.content);
|
||||
SetUser(request.item);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user