serafim / pagure

Forked from pagure 6 years ago
Clone

80ddfec Re-use the is_admin() function and fix it for the API

Authored and Committed by pingou 7 years ago
    Re-use the is_admin() function and fix it for the API
    
    This reduce some (partial) duplication of logic while keeping the API
    working
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+3 -12
file modified
+6 -0