Merge pull request #8072 from nupplaphil/task/Cache_to_DI
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 10 Jan 2020 13:46:03 +0000 (08:46 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Jan 2020 13:46:03 +0000 (08:46 -0500)
Replace Core\Cache wrapper with DI::cache() method

1  2 
src/Core/Lock/DatabaseLock.php
src/Core/Update.php
src/Model/Photo.php
src/Protocol/OStatus.php
src/Worker/CronJobs.php
tests/Util/DbaLockMockTrait.php

Simple merge
@@@ -5,8 -5,8 +5,9 @@@ namespace Friendica\Core
  use Friendica\App;
  use Friendica\Database\DBA;
  use Friendica\Database\DBStructure;
 +use Friendica\DI;
  use Friendica\Util\Strings;
+ use Friendica\Core\Cache\Cache;
  
  class Update
  {
Simple merge
Simple merge
Simple merge
Simple merge