Skip to content

Commit

Permalink
코드 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrambo committed Dec 5, 2014
1 parent 5c68fa3 commit ee11951
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 8 additions & 2 deletions ncenterlite.admin.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ function procNcenterliteAdminInsertConfig()
$config->message_notify = Context::get('message_notify');
$config->hide_module_srls = Context::get('hide_module_srls');
$config->android_format = Context::get('android_format');
if(!$config->mention_format && !is_array($config->mention_format)) $config->mention_format = array();
if(!$config->mention_format && !is_array($config->mention_format))
{
$config->mention_format = array();
}
$config->admin_comment_module_srls = Context::get('admin_comment_module_srls');

$config->skin = Context::get('skin');
Expand All @@ -29,7 +32,10 @@ function procNcenterliteAdminInsertConfig()
$config->mlayout_srl = Context::get('mlayout_srl');
$config->voted_format = Context::get('voted_format');

if(!$config->document_notify) $config->document_notify = 'direct-comment';
if(!$config->document_notify)
{
$config->document_notify = 'direct-comment';
}

$this->setMessage('success_updated');

Expand Down
2 changes: 0 additions & 2 deletions ncenterlite.controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ function procNcenterliteUserConfig()
}
}



function triggerAfterDeleteMember($obj)
{
$oNcenterliteModel = &getModel('ncenterlite');
Expand Down

0 comments on commit ee11951

Please sign in to comment.