convert manual page updates to a display setting instead of a feature
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user