Move PConfig::load() to DI::pConfig()->load()

This commit is contained in:
nupplaPhil 2020-01-18 15:59:01 +01:00
parent 71181704d4
commit 6e2880c679
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 2 additions and 14 deletions

View file

@ -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.