Move Config::delete() to DI::config()->delete()

This commit is contained in:
nupplaPhil
2020-01-19 21:22:33 +01:00
parent 3411ced833
commit a6a2efa18a
5 changed files with 9 additions and 21 deletions
-12
View File
@@ -19,16 +19,4 @@ use Friendica\DI;
*/
class Config
{
/**
* Deletes the given key from the system configuration.
*
* @param string $cat The category of the configuration value
* @param string $key The configuration key to delete
*
* @return bool
*/
public static function delete($cat, $key)
{
return DI::config()->delete($cat, $key);
}
}