clone systems apps to the extent possible, auto-configure imagick thumbnail binary during setup if possible

This commit is contained in:
Zot
2019-03-18 09:35:53 +01:00
committed by Mario
parent e28bde6ccd
commit ea9925f489
9 changed files with 132 additions and 19 deletions

View File

@@ -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)) {