]> git.mxchange.org Git - friendica.git/blobdiff - src/Factory/ConfigFactory.php
Fix notices
[friendica.git] / src / Factory / ConfigFactory.php
index 954f893959229624e098ca2ac4ce09a6387d2110..9a20100b2fe6da880d4877171c88c1c18a25b38a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -37,10 +37,10 @@ class ConfigFactory
         *
         * @throws Exception
         */
-       public function createCache(ConfigFileLoader $loader)
+       public function createCache(ConfigFileLoader $loader, array $server = [])
        {
                $configCache = new Cache();
-               $loader->setupCache($configCache);
+               $loader->setupCache($configCache, $server);
 
                return $configCache;
        }