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

Eliminate unnecessary config loading.

parent 86565fe7
Branches
Tags
No related merge requests found
......@@ -27,8 +27,7 @@
* @link http://www.vufind.org Main Page
*/
namespace VuFind\Auth;
use VuFind\Config\Reader as ConfigReader,
VuFind\Exception\Auth as AuthException;
use VuFind\Exception\Auth as AuthException;
/**
* Abstract authentication base class
......@@ -72,11 +71,6 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface
*/
public function getConfig()
{
// Load configuration if not already present:
if (is_null($this->config)) {
$this->setConfig(ConfigReader::getConfig());
}
// Validate configuration if not already validated:
if (!$this->configValidated) {
$this->validateConfig();
......
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