aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-18 19:09:27 -0700
committerredmatrix <git@macgirvin.com>2016-07-18 19:09:27 -0700
commit32ce790717f39ecb6cbd7371b631753652c77ee3 (patch)
tree7876cbefda3387c1b31d5d1853bc73a785fb3113
parentb5b57523f14597f13b88a93f8787bb5a4f966c58 (diff)
downloadvolse-hubzilla-32ce790717f39ecb6cbd7371b631753652c77ee3.tar.gz
volse-hubzilla-32ce790717f39ecb6cbd7371b631753652c77ee3.tar.bz2
volse-hubzilla-32ce790717f39ecb6cbd7371b631753652c77ee3.zip
move legacy code inside the legacy check
-rw-r--r--include/perm_upgrade.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/perm_upgrade.php b/include/perm_upgrade.php
index 4353dc9af..9892adb07 100644
--- a/include/perm_upgrade.php
+++ b/include/perm_upgrade.php
@@ -192,9 +192,10 @@ function translate_abook_perms_outbound(&$abook) {
$my_perms += PERMS_A_DELEGATE;
}
}
+
+ $abook['abook_their_perms'] = $their_perms;
+ $abook['abook_my_perms'] = $my_perms;
}
- $abook['abook_their_perms'] = $their_perms;
- $abook['abook_my_perms'] = $my_perms;
}
function translate_abook_perms_inbound($channel,$abook) {