Skip to content

Commit

Permalink
fix: remove new pre request
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-girard committed Nov 9, 2023
1 parent 733f0d0 commit 608e8e2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ad_miner/sources/modules/neo4j_class.py
Expand Up @@ -34,12 +34,6 @@ def pre_request(arguments):
):
date_lastlogon = record.data()

for record in tx.run(
"MATCH (m:Domain)-[r]->() WITH COLLECT(distinct(COALESCE(m.domain, m.name))) AS doms MATCH (n) WHERE not toUpper(n.domain) in doms return distinct n.domain"
):
logger.print_error("Corrupted Neo4j database : required Domain object(s) are missing for the proper functioning of AD Miner.")
sys.exit(-1)

driver.close()
except Exception as e:
logger.print_error("Connection to neo4j database impossible.")
Expand Down

0 comments on commit 608e8e2

Please sign in to comment.