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

This commit is contained in:
nupplaPhil 2020-01-18 16:56:46 +01:00
parent 88bb66371c
commit b5c0df439f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 10 additions and 23 deletions

View file

@ -19,17 +19,4 @@ use Friendica\DI;
*/
class PConfig
{
/**
* @brief Deletes the given key from the users's configuration.
*
* @param int $uid The user_id
* @param string $cat The category of the configuration value
* @param string $key The configuration key to delete
*
* @return bool
*/
public static function delete(int $uid, string $cat, string $key)
{
return DI::pConfig()->delete($uid, $cat, $key);
}
}