]> git.mxchange.org Git - friendica.git/commitdiff
Removed unused setting
authorMichael <heluecht@pirati.ca>
Mon, 25 Sep 2017 19:05:05 +0000 (19:05 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 25 Sep 2017 19:05:05 +0000 (19:05 +0000)
mod/admin.php
view/templates/admin_site.tpl
view/theme/frost-mobile/templates/admin_site.tpl
view/theme/frost/templates/admin_site.tpl

index ee95a180a5b30aa7049fdee99aee9a536ad24fec..49596578b8f4e1b0b45bc2ebc737e891cfbf663e 100644 (file)
@@ -819,7 +819,6 @@ function admin_page_site_post(App $a) {
        $nodeinfo               =       ((x($_POST,'nodeinfo'))                 ? intval(trim($_POST['nodeinfo']))              : false);
        $dfrn_only              =       ((x($_POST,'dfrn_only'))                ? True                                          : False);
        $ostatus_disabled       =       !((x($_POST,'ostatus_disabled'))        ? True                                          : False);
-       $ostatus_poll_interval  =       ((x($_POST,'ostatus_poll_interval'))    ? intval(trim($_POST['ostatus_poll_interval'])) :  0);
        $ostatus_full_threads   =       ((x($_POST,'ostatus_full_threads'))     ? True                                          : False);
        $diaspora_enabled       =       ((x($_POST,'diaspora_enabled'))         ? True                                          : False);
        $ssl_policy             =       ((x($_POST,'ssl_policy'))               ? intval($_POST['ssl_policy'])                  : 0);
@@ -967,7 +966,6 @@ function admin_page_site_post(App $a) {
        set_config('system', 'curl_timeout', $timeout);
        set_config('system', 'dfrn_only', $dfrn_only);
        set_config('system', 'ostatus_disabled', $ostatus_disabled);
-       set_config('system', 'ostatus_poll_interval', $ostatus_poll_interval);
        set_config('system', 'ostatus_full_threads', $ostatus_full_threads);
        set_config('system', 'diaspora_enabled', $diaspora_enabled);
 
@@ -1194,7 +1192,6 @@ function admin_page_site(App $a) {
                '$community_page_style' => array('community_page_style', t("Community Page Style"), get_config('system','community_page_style'), t("Type of community page to show. 'Global community' shows every public posting from an open distributed network that arrived on this server."), $community_page_style_choices),
                '$max_author_posts_community_page' => array('max_author_posts_community_page', t("Posts per user on community page"), get_config('system','max_author_posts_community_page'), t("The maximum number of posts per user on the community page. (Not valid for 'Global Community')")),
                '$ostatus_disabled'     => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disabled'), t("Provide built-in OStatus \x28StatusNet, GNU Social etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed.")),
-               '$ostatus_poll_interval' => array('ostatus_poll_interval', t("OStatus conversation completion interval"), (string) intval(get_config('system','ostatus_poll_interval')), t("How often shall the poller check for new entries in OStatus conversations? This can be a very ressource task."), $ostatus_poll_choices),
                '$ostatus_full_threads' => array('ostatus_full_threads', t("Only import OStatus threads from our contacts"), get_config('system','ostatus_full_threads'), t("Normally we import every content from our OStatus contacts. With this option we only store threads that are started by a contact that is known on our system.")),
                '$ostatus_not_able'     => t("OStatus support can only be enabled if threading is enabled."),
                '$diaspora_able'        => $diaspora_able,
index 6a3c3fbcdda85ef8e4fe77e56ecb3d6ec19c5961..04af33430619dd665c06cbb18e399c9db29a864b 100644 (file)
@@ -85,7 +85,6 @@
 
        {{if $thread_allow.2}}
                {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
-               {{include file="field_select.tpl" field=$ostatus_poll_interval}}
                {{include file="field_checkbox.tpl" field=$ostatus_full_threads}}
        {{else}}
                <div class='field checkbox' id='div_id_{{$ostatus_disabled.0}}'>
index fb3694f59944e2d7788027f3e2f3c4b75d54aafb..95d13c0194d746c74871b995b125e8c13669542d 100644 (file)
@@ -40,7 +40,6 @@
        {{include file="field_checkbox.tpl" field=$force_publish}}
        {{include file="field_checkbox.tpl" field=$no_community_page}}
        {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
-       {{include file="field_select.tpl" field=$ostatus_poll_interval}} 
        {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
        {{include file="field_checkbox.tpl" field=$dfrn_only}}
        {{include file="field_input.tpl" field=$global_directory}}
index ab0b6af7375d4d3a3fd296b7ec9f1b413d13f231..cc301a2dc95ef950584e0906252ccd9f60251388 100644 (file)
@@ -40,7 +40,6 @@
        {{include file="field_checkbox.tpl" field=$force_publish}}
        {{include file="field_checkbox.tpl" field=$no_community_page}}
        {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
-       {{include file="field_select.tpl" field=$ostatus_poll_interval}} 
        {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
        {{include file="field_checkbox.tpl" field=$dfrn_only}}
        {{include file="field_input.tpl" field=$global_directory}}