mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Move PConfig::delete() to DI::pConfig()->delete()
This commit is contained in:
parent
88bb66371c
commit
b5c0df439f
4 changed files with 10 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue