3 * User Configuration Class
5 * @file include/Core/PConfig.php
7 * @brief Contains the class with methods for user configuration
9 namespace Friendica\Core;
14 * @brief Management of user configuration storage
16 * Please do not store booleans - convert to 0/1 integer values
17 * The DI::pConfig()->get() functions return boolean false for keys that are unset,
18 * and this could lead to subtle bugs.
23 * @brief Deletes the given key from the users's configuration.
25 * @param int $uid The user_id
26 * @param string $cat The category of the configuration value
27 * @param string $key The configuration key to delete
31 public static function delete(int $uid, string $cat, string $key)
33 return DI::pConfig()->delete($uid, $cat, $key);