minor re-arrange
This commit is contained in:
parent
90f3cc7328
commit
b66aeea384
@ -425,6 +425,10 @@ function zot_refresh($them, $channel = null, $force = false) {
|
|||||||
$next_birthday = NULL_DATE;
|
$next_birthday = NULL_DATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Keep original perms to check if we need to notify them
|
||||||
|
$previous_perms = get_all_perms($channel['channel_id'],$x['hash']);
|
||||||
|
|
||||||
$r = q("select * from abook where abook_xchan = '%s' and abook_channel = %d and abook_self = 0 limit 1",
|
$r = q("select * from abook where abook_xchan = '%s' and abook_channel = %d and abook_self = 0 limit 1",
|
||||||
dbesc($x['hash']),
|
dbesc($x['hash']),
|
||||||
intval($channel['channel_id'])
|
intval($channel['channel_id'])
|
||||||
@ -488,10 +492,6 @@ function zot_refresh($them, $channel = null, $force = false) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Keep original perms to check if we need to notify them
|
|
||||||
$previous_perms = get_all_perms($channel['channel_id'],$x['hash']);
|
|
||||||
|
|
||||||
|
|
||||||
$closeness = get_pconfig($channel['channel_id'],'system','new_abook_closeness');
|
$closeness = get_pconfig($channel['channel_id'],'system','new_abook_closeness');
|
||||||
if($closeness === false)
|
if($closeness === false)
|
||||||
$closeness = 80;
|
$closeness = 80;
|
||||||
|
Reference in New Issue
Block a user