From 28046ad1c98ca12603194dec0fbe67ab1121afe2 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 6 Feb 2015 13:39:01 -0500
Subject: [PATCH] Default to null config for backward compatibility.

---
 module/VuFind/src/VuFind/Db/Table/User.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Db/Table/User.php b/module/VuFind/src/VuFind/Db/Table/User.php
index 9978af7f188..46ddc32a934 100644
--- a/module/VuFind/src/VuFind/Db/Table/User.php
+++ b/module/VuFind/src/VuFind/Db/Table/User.php
@@ -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;
-- 
GitLab