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

Default to null config for backward compatibility.

parent eaa7396d
No related merge requests found
......@@ -50,7 +50,7 @@ class User extends Gateway
*
* @param \Zend\Config\Config $config VuFind configuration
*/
public function __construct(\Zend\Config\Config $config)
public function __construct(\Zend\Config\Config $config = null)
{
parent::__construct('user', 'VuFind\Db\Row\User');
$this->config = $config;
......
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