Skip to content

Commit

Permalink
Fix GraphViz extension support (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Dec 7, 2023
1 parent 22a1796 commit 68c1b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graph/GraphPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function hasMissingDependency() {
$registry = \ExtensionRegistry::getInstance();
return (
// <graphviz> can be provided by Diagrams.
!$registry->isLoaded( 'Diagrams' ) ||
!$registry->isLoaded( 'Diagrams' ) &&
!class_exists( 'GraphViz' ) && !class_exists( '\\MediaWiki\\Extension\\GraphViz\\GraphViz' )
) && !(
// <graphviz can also be added by External Data in Tag emulation mode.
Expand Down

0 comments on commit 68c1b97

Please sign in to comment.