X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fremove_contact.php;h=aa206211160ad1d14a13e38574cbe94c371adc29;hb=95bb8d38e87d8b09ef37404c4b23c08b6feb9da4;hp=ec8b83eab933809261455d1ed65447072bf7b033;hpb=63610c7b73fcaf862adbf880d4968dd2b1678d9b;p=friendica.git diff --git a/include/remove_contact.php b/include/remove_contact.php index ec8b83eab9..aa20621116 100644 --- a/include/remove_contact.php +++ b/include/remove_contact.php @@ -3,6 +3,9 @@ * @file include/remove_contact.php * @brief Removes orphaned data from deleted contacts */ + +use \Friendica\Core\Config; + require_once("boot.php"); function remove_contact_run($argv, $argc) { @@ -19,8 +22,7 @@ function remove_contact_run($argv, $argc) { unset($db_host, $db_user, $db_pass, $db_data); } - load_config('config'); - load_config('system'); + Config::load(); if ($argc != 2) { return;