]> git.mxchange.org Git - friendica.git/commitdiff
rename PConfig::del to PConfig:delete
authorrabuzarus <>
Mon, 6 Jun 2016 08:46:33 +0000 (10:46 +0200)
committerrabuzarus <>
Mon, 6 Jun 2016 08:46:33 +0000 (10:46 +0200)
include/PConfig.php
include/config.php

index d8d6e58f3fd739871eb4fb14d27e938597d2618a..9ef11369950541ee7ff4d142c3c9b434756cc423 100644 (file)
@@ -201,7 +201,7 @@ class PConfig {
         *  The configuration key to delete
         * @return mixed
         */
-       public static function del($uid,$family,$key) {
+       public static function delete($uid,$family,$key) {
 
                global $a;
                if(x($a->config[$uid][$family],$key))
index db6c72ee6cec7634a2d661dd7120ddee991994bb..585caf43ae1b3207f5bb317b71e90840da60532d 100644 (file)
@@ -283,7 +283,7 @@ function set_pconfig($uid,$family,$key,$value) {
 /**
  * @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 $family
@@ -293,5 +293,5 @@ function set_pconfig($uid,$family,$key,$value) {
  * @return mixed
  */
 function del_pconfig($uid,$family,$key) {
-       return PConfig::del($uid, $family, $key);
+       return PConfig::delete($uid, $family, $key);
 }