minor cleanup

This commit is contained in:
Mario 2018-09-23 20:02:28 +02:00
parent a1d1d5dba7
commit d83fe9d417
2 changed files with 0 additions and 4 deletions

View File

@ -154,7 +154,6 @@ class Channel {
$adult = (($_POST['adult'] == 1) ? 1 : 0);
$defpermcat = ((x($_POST,'defpermcat')) ? notags(trim($_POST['defpermcat'])) : 'default');
$cal_first_day = (((x($_POST,'first_day')) && (intval($_POST['first_day']) == 1)) ? 1: 0);
$mailhost = ((array_key_exists('mailhost',$_POST)) ? notags(trim($_POST['mailhost'])) : '');
$profile_assign = ((x($_POST,'profile_assign')) ? notags(trim($_POST['profile_assign'])) : '');
@ -251,7 +250,6 @@ class Channel {
set_pconfig(local_channel(),'system','evdays',$evdays);
set_pconfig(local_channel(),'system','photo_path',$photo_path);
set_pconfig(local_channel(),'system','attach_path',$attach_path);
set_pconfig(local_channel(),'system','cal_first_day',$cal_first_day);
set_pconfig(local_channel(),'system','default_permcat',$defpermcat);
set_pconfig(local_channel(),'system','email_notify_host',$mailhost);
set_pconfig(local_channel(),'system','profile_assign',$profile_assign);

View File

@ -186,8 +186,6 @@
</select>
</div>
{{/if}}
{{include file="field_checkbox.tpl" field=$cal_first_day}}
{{if $misc_addon}}
{{$misc_addon}}
{{/if}}