]> git.mxchange.org Git - friendica.git/blobdiff - include/spool_post.php
Merge remote-tracking branch 'upstream/develop' into 1701-performance
[friendica.git] / include / spool_post.php
index c42928a67288c3783032852927c0ab54a59b3c4a..d55b100edae94bf7a72347a42a3df4dca3b660a6 100644 (file)
@@ -3,6 +3,9 @@
  * @file include/spool_post.php
  * @brief Posts items that wer spooled because they couldn't be posted.
  */
+
+use \Friendica\Core\Config;
+
 require_once("boot.php");
 require_once("include/items.php");
 
@@ -20,8 +23,7 @@ function spool_post_run($argv, $argc) {
                unset($db_host, $db_user, $db_pass, $db_data);
        }
 
-       load_config('config');
-       load_config('system');
+       Config::load();
 
        $path = get_spoolpath();