diff options
author | zotlabs <mike@macgirvin.com> | 2016-11-02 18:40:50 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-11-02 18:40:50 -0700 |
commit | 9e2ccbd2a7cda195de5ae03ea8729561762d157a (patch) | |
tree | cf18d5edc88381ca93cc3d13b08685e030ec526f /include/channel.php | |
parent | 6a6494d9475b0c9b87408f648c8988d7444b3793 (diff) | |
download | volse-hubzilla-9e2ccbd2a7cda195de5ae03ea8729561762d157a.tar.gz volse-hubzilla-9e2ccbd2a7cda195de5ae03ea8729561762d157a.tar.bz2 volse-hubzilla-9e2ccbd2a7cda195de5ae03ea8729561762d157a.zip |
convert manual page updates to a display setting instead of a feature
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php index 39ffef2d2..6d180da01 100644 --- a/include/channel.php +++ b/include/channel.php @@ -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); + }
\ No newline at end of file |