From 35580107583660e1e101cde8be6a0c2518a1c121 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 2 Jul 2012 13:22:07 -0400
Subject: [PATCH] Enforce singleton pattern.

---
 module/VuFind/src/VuFind/Cache/Manager.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Cache/Manager.php b/module/VuFind/src/VuFind/Cache/Manager.php
index 68ecd02f0b4..c6cc1f19540 100644
--- a/module/VuFind/src/VuFind/Cache/Manager.php
+++ b/module/VuFind/src/VuFind/Cache/Manager.php
@@ -47,9 +47,9 @@ class Manager
     protected $caches = array();
 
     /**
-     * Constructor
+     * Constructor (protected to enforce use of getInstance).
      */
-    public function __construct()
+    protected function __construct()
     {
         // If we have a parent constructor, call it (none exists at the time of
         // this writing, but this is just in case Zend Framework changes later).
-- 
GitLab