more uno groundwork
This commit is contained in:
@@ -38,6 +38,9 @@ function get_feature_default($feature) {
|
||||
|
||||
function get_features($filtered = true) {
|
||||
|
||||
if(UNO)
|
||||
return array();
|
||||
|
||||
$arr = array(
|
||||
|
||||
// General
|
||||
|
@@ -527,7 +527,6 @@ function widget_settings_menu($arr) {
|
||||
'selected' => ''
|
||||
);
|
||||
|
||||
|
||||
if($role === false || $role === 'custom') {
|
||||
$tabs[] = array(
|
||||
'label' => t('Connection Default Permissions'),
|
||||
|
@@ -2868,6 +2868,9 @@ function import_site($arr, $pubkey) {
|
||||
*/
|
||||
function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
|
||||
|
||||
if(UNO)
|
||||
return;
|
||||
|
||||
$a = get_app();
|
||||
|
||||
logger('build_sync_packet');
|
||||
@@ -2997,6 +3000,9 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
|
||||
*/
|
||||
function process_channel_sync_delivery($sender, $arr, $deliveries) {
|
||||
|
||||
if(UNO)
|
||||
return;
|
||||
|
||||
require_once('include/import.php');
|
||||
|
||||
/** @FIXME this will sync red structures (channel, pconfig and abook). Eventually we need to make this application agnostic. */
|
||||
|
Reference in New Issue
Block a user