convert manual page updates to a display setting instead of a feature

This commit is contained in:
zotlabs
2016-11-02 18:40:50 -07:00
parent 6a6494d947
commit 9e2ccbd2a7
9 changed files with 20 additions and 14 deletions
+11
View File
@@ -1930,4 +1930,15 @@ function channel_reddress($channel) {
return '';
return strtolower($channel['channel_address'] . '@' . App::get_hostname());
}
function channel_manual_conv_update($channel_id) {
$x = get_pconfig($channel_id, 'system','manual_conversation_update');
if($x === false)
$x = get_config('system','manual_conversation_update');
return intval($x);
}
-9
View File
@@ -157,15 +157,6 @@ function get_features($filtered = true) {
feature_level('smart_birthdays',2),
],
[
'static_updates',
t('Manual Page Updates'),
t('Off = automatically update changing conversations. On = Wait until the page is re-loaded.'),
false,
get_config('feature_lock','static_updates'),
feature_level('static_updates',1),
],
[
'advanced_dirsearch',
t('Advanced Directory Search'),