mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Move PConfig::load() to DI::pConfig()->load()
This commit is contained in:
parent
71181704d4
commit
6e2880c679
2 changed files with 2 additions and 14 deletions
|
@ -19,19 +19,6 @@ use Friendica\DI;
|
|||
*/
|
||||
class PConfig
|
||||
{
|
||||
/**
|
||||
* @brief Loads all configuration values of a user's config family into a cached storage.
|
||||
*
|
||||
* @param int $uid The user_id
|
||||
* @param string $cat The category of the configuration value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function load(int $uid, string $cat)
|
||||
{
|
||||
DI::pConfig()->load($uid, $cat);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get a particular user's config variable given the category name
|
||||
* ($cat) and a key.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue