aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-05 13:32:15 -0800
committerredmatrix <git@macgirvin.com>2016-02-05 13:32:15 -0800
commit7868e476435b7d8d4530dea19686fdae04d5eb68 (patch)
treea85077184cc679e6048a33d571f22e4cce6a195a /include
parentb4e3cd000f9919ce459d32e21e5ca121338a6c24 (diff)
downloadvolse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.tar.gz
volse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.tar.bz2
volse-hubzilla-7868e476435b7d8d4530dea19686fdae04d5eb68.zip
more uno groundwork
Diffstat (limited to 'include')
-rw-r--r--include/features.php3
-rw-r--r--include/widgets.php1
-rw-r--r--include/zot.php6
3 files changed, 9 insertions, 1 deletions
diff --git a/include/features.php b/include/features.php
index 4d8d162fa..d6a223089 100644
--- a/include/features.php
+++ b/include/features.php
@@ -38,6 +38,9 @@ function get_feature_default($feature) {
function get_features($filtered = true) {
+ if(UNO)
+ return array();
+
$arr = array(
// General
diff --git a/include/widgets.php b/include/widgets.php
index 011e3a8d7..8073058c6 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -527,7 +527,6 @@ function widget_settings_menu($arr) {
'selected' => ''
);
-
if($role === false || $role === 'custom') {
$tabs[] = array(
'label' => t('Connection Default Permissions'),
diff --git a/include/zot.php b/include/zot.php
index 0210f3f4a..e9335769e 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -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. */