rename PConfig::del to PConfig:delete

This commit is contained in:
rabuzarus 2016-06-06 10:46:33 +02:00
parent f10011c282
commit fa02d0f2f8
2 changed files with 3 additions and 3 deletions

View File

@ -201,7 +201,7 @@ class PConfig {
* The configuration key to delete * The configuration key to delete
* @return mixed * @return mixed
*/ */
public static function del($uid,$family,$key) { public static function delete($uid,$family,$key) {
global $a; global $a;
if(x($a->config[$uid][$family],$key)) if(x($a->config[$uid][$family],$key))

View File

@ -283,7 +283,7 @@ function set_pconfig($uid,$family,$key,$value) {
/** /**
* @brief (Deprecated) Deletes the given key from the users's configuration. * @brief (Deprecated) Deletes the given key from the users's configuration.
* *
* Note: This function is deprecated. Use PConfig::del() instead. * Note: This function is deprecated. Use PConfig::delete() instead.
* *
* @param string $uid The user_id * @param string $uid The user_id
* @param string $family * @param string $family
@ -293,5 +293,5 @@ function set_pconfig($uid,$family,$key,$value) {
* @return mixed * @return mixed
*/ */
function del_pconfig($uid,$family,$key) { function del_pconfig($uid,$family,$key) {
return PConfig::del($uid, $family, $key); return PConfig::delete($uid, $family, $key);
} }