Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* gestion de l'intimité
- __________________________________________________________________________*/
- apoFetcher(userHash)
- if(privacy == 0 || blackList.currentUserHash)
- return 0
- if(privacy == 1)
- if(isNotConnected() || !whiteList.currentUserHash)
- return 0
- else
- return contentsFetcher(userHash)
- if(privacy == 3)
- return contentsFecther(userHash)
- contentFetcher()
- /*parcourir la db*/
- var obj
- if(privacy == 0)
- obj += ' '
- if(privacy == 1)
- if(isNotConnected() || !whiteList.currentUserHash)
- obj += ' '
- else
- obj += apoUnitFetcher(index)
- if(privacy == 3)
- obj += apoUnitFetcher(index)
- obj = json.parse(obj)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement