* @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) {
global $a, $db;
- if (is_null($a))
+ if (is_null($a)) {
$a = new App;
+ }
if (is_null($db)) {
@include(".htconfig.php");
unset($db_host, $db_user, $db_pass, $db_data);
}
- load_config('config');
- load_config('system');
+ Config::load();
if ($argc != 2) {
return;