diff options
author | Mario <mario@mariovavti.com> | 2018-09-23 20:02:28 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-09-23 20:02:28 +0200 |
commit | d83fe9d417d8e7773e0f36b0605f79ab5eec07b7 (patch) | |
tree | 1280219dc646dafd1e238275d476f25231669a44 | |
parent | a1d1d5dba7c975e00bcf8c8dfc8e6ccd13f3df90 (diff) | |
download | volse-hubzilla-d83fe9d417d8e7773e0f36b0605f79ab5eec07b7.tar.gz volse-hubzilla-d83fe9d417d8e7773e0f36b0605f79ab5eec07b7.tar.bz2 volse-hubzilla-d83fe9d417d8e7773e0f36b0605f79ab5eec07b7.zip |
minor cleanup
-rw-r--r-- | Zotlabs/Module/Settings/Channel.php | 2 | ||||
-rwxr-xr-x | view/tpl/settings.tpl | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php index 6fea970fe..27a8e695d 100644 --- a/Zotlabs/Module/Settings/Channel.php +++ b/Zotlabs/Module/Settings/Channel.php @@ -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); diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index 3a05ea828..74863a5db 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -186,8 +186,6 @@ </select> </div> {{/if}} - {{include file="field_checkbox.tpl" field=$cal_first_day}} - {{if $misc_addon}} {{$misc_addon}} {{/if}} |