diff options
author | zotlabs <mike@macgirvin.com> | 2019-03-17 17:56:29 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-03-17 17:56:29 -0700 |
commit | 026b96b8f2aebff50f594aa2a184a60a66cc3fd4 (patch) | |
tree | 4f2dea61bdc49be73de4ae00fc4e22937361df3e /include/channel.php | |
parent | 136b2ae37f36d0b772166f7c8fac5a27b4b8a4d3 (diff) | |
download | volse-hubzilla-026b96b8f2aebff50f594aa2a184a60a66cc3fd4.tar.gz volse-hubzilla-026b96b8f2aebff50f594aa2a184a60a66cc3fd4.tar.bz2 volse-hubzilla-026b96b8f2aebff50f594aa2a184a60a66cc3fd4.zip |
clone systems apps to the extent possible, auto-configure imagick thumbnail binary during setup if possible
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php index 7646de151..654bbdb05 100644 --- a/include/channel.php +++ b/include/channel.php @@ -948,6 +948,18 @@ function identity_basic_export($channel_id, $sections = null) { } $ret['app'] = $r; } + $r = q("select * from app where app_channel = %d and app_system = 1", + intval($channel_id) + ); + if($r) { + for($x = 0; $x < count($r); $x ++) { + $r[$x]['term'] = q("select * from term where otype = %d and oid = %d", + intval(TERM_OBJ_APP), + intval($r[$x]['id']) + ); + } + $ret['sysapp'] = $r; + } } if(in_array('chatrooms',$sections)) { |