From 32ce790717f39ecb6cbd7371b631753652c77ee3 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Jul 2016 19:09:27 -0700 Subject: move legacy code inside the legacy check --- include/perm_upgrade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/perm_upgrade.php') 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) { -- cgit v1.2.3