]> git.mxchange.org Git - friendica.git/blobdiff - bin/worker.php
replaced with notify constants
[friendica.git] / bin / worker.php
index b2d97cc11541c735f9b03d59ae0c3a9c1de1f5ea..106c9b81f17ece58c7977f88b2803f7e57fcd393 100755 (executable)
@@ -2,12 +2,11 @@
 <?php
 /**
  * @file bin/worker.php
- * @brief Starts the background processing
+ * Starts the background processing
  */
 
 use Dice\Dice;
 use Friendica\App;
-use Friendica\Core\Config;
 use Friendica\Core\Update;
 use Friendica\Core\Worker;
 use Friendica\DI;
@@ -46,7 +45,7 @@ if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) {
        return;
 }
 
-DI::baseUrl()->saveByURL(Config::get('system', 'url'));
+DI::baseUrl()->saveByURL(DI::config()->get('system', 'url'));
 
 $spawn = array_key_exists('s', $options) || array_key_exists('spawn', $options);