mirror of
https://github.com/friendica/friendica
synced 2025-04-29 03:04:22 +02:00
Move Cache::set() to DI::cache()->set()
This commit is contained in:
parent
3369dfaad9
commit
f68929633b
16 changed files with 25 additions and 39 deletions
|
@ -10,6 +10,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Search;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\GServer;
|
||||
use Friendica\Network\Probe;
|
||||
|
@ -80,6 +81,6 @@ class SearchDirectory
|
|||
}
|
||||
}
|
||||
}
|
||||
Cache::set('SearchDirectory:' . $search, time(), Cache::DAY);
|
||||
DI::cache()->set('SearchDirectory:' . $search, time(), Cache::DAY);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue