Skip to content
Snippets Groups Projects
Commit 3c0776fb authored by Demian Katz's avatar Demian Katz
Browse files

Hide all abstract classes from ILS dropdown.

parent b9b61426
No related merge requests found
......@@ -555,11 +555,11 @@ class InstallController extends AbstractBase
= opendir(APPLICATION_PATH . '/module/VuFind/src/VuFind/ILS/Driver');
$drivers = [];
$blacklist = [
'Sample.php', 'Demo.php', 'DriverInterface.php', 'AbstractBase.php',
'PluginManager.php',
'Sample.php', 'Demo.php', 'DriverInterface.php', 'PluginManager.php',
];
while ($line = readdir($dir)) {
if (stristr($line, '.php') && !in_array($line, $blacklist)
&& substr($line, 0, 8) !== 'Abstract'
&& substr($line, -11) !== 'Factory.php'
&& substr($line, -9) !== 'Trait.php'
) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment