Skip to content

Commit

Permalink
fix: getting CacheFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Feb 14, 2024
1 parent dfc6661 commit 49cad42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function __construct($AppName) {

$this->config = \OC::$server->getConfig();
$this->logger = \OC::$server->getLogger();
$cacheFactory = \OC::$server->get(ICacheFactory::class);
$cacheFactory = \OC::$server->getMemCacheFactory();
$this->cache = $cacheFactory->createLocal($this->appName);
}

Expand Down

0 comments on commit 49cad42

Please sign in to comment.