From ffbd3f324558fe7e04d6007761391889800baa95 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 9 Jan 2013 21:34:30 -0500 Subject: Move hbac_ctx_is_offline() --- src/providers/ipa/ipa_access.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/providers/ipa/ipa_access.h') diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index fc817e47..d3b78b0f 100644 --- a/src/providers/ipa/ipa_access.h +++ b/src/providers/ipa/ipa_access.h @@ -75,13 +75,6 @@ struct hbac_ctx { struct sysdb_attrs **servicegroups; }; -/* Check whether the current HBAC request is processed in off-line mode */ -static inline bool hbac_ctx_is_offline(struct hbac_ctx *ctx) -{ - return ctx == NULL || ctx->sdap_op == NULL; -} - - void ipa_access_handler(struct be_req *be_req); errno_t hbac_get_cached_rules(TALLOC_CTX *mem_ctx, -- cgit