Exemple #1
0
def unfav_topic(mid,tid):
    fav_status = r.srem('fav_topic:'+mid,tid)
    faved_status = r.srem('faved_topic:'+tid,mid)
    return fav_status and faved_status
Exemple #2
0
def unfav_node(mid,tid):
    fav_status = r.srem('fav_node:'+mid,tid)
    faved_status = r.srem('faved_node:'+tid,mid)
    return fav_status and faved_status
Exemple #3
0
def unfav_user(mid,tid):
    fav_status = r.srem('fav_user:'******'faved_user:'+tid,mid)
    return fav_status and faved_status