mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Remove unused code.
This commit is contained in:
parent
0d0775e052
commit
657c0e30b8
1 changed files with 0 additions and 31 deletions
|
|
@ -526,7 +526,6 @@ class ncenterliteController extends ncenterlite
|
|||
if(array_key_exists($comment_srl, $_comment_list))
|
||||
{
|
||||
$url = getNotEncodedUrl('_comment_srl', '') . '#comment_' . $comment_srl;
|
||||
$need_check_socialxe = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -534,7 +533,6 @@ class ncenterliteController extends ncenterlite
|
|||
if($cpage > 1)
|
||||
{
|
||||
$url = getNotEncodedUrl('cpage', $cpage - 1) . '#comment_' . $comment_srl;
|
||||
$need_check_socialxe = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -542,35 +540,6 @@ class ncenterliteController extends ncenterlite
|
|||
}
|
||||
}
|
||||
|
||||
if($need_check_socialxe)
|
||||
{
|
||||
$oDB = &DB::getInstance();
|
||||
if($oDB->isTableExists('socialxe'))
|
||||
{
|
||||
$args = new stdClass();
|
||||
$oModuleModel = getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByDocumentSrl($document_srl);
|
||||
$args->module_srl = $module_info->module_srl;
|
||||
$output = executeQuery('ncenterlite.getSocialxeCount', $args);
|
||||
if($output->data->cnt)
|
||||
{
|
||||
$socialxe_comment_srl = $comment_srl;
|
||||
|
||||
$args = new stdClass();
|
||||
$args->comment_srl = $comment_srl;
|
||||
$oCommentModel = getModel('comment');
|
||||
$oComment = $oCommentModel->getComment($comment_srl);
|
||||
$parent_srl = $oComment->get('parent_srl');
|
||||
if($parent_srl)
|
||||
{
|
||||
$socialxe_comment_srl = $parent_srl;
|
||||
}
|
||||
|
||||
$url = getNotEncodedUrl('_comment_srl', '', 'cpage', '', 'comment_srl', $socialxe_comment_srl) . '#comment_' . $comment_srl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$url = str_replace('&', '&', $url);
|
||||
header('location: ' . $url);
|
||||
Context::close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue