Move PConfig::load() to DI::pConfig()->load()
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user