]> git.mxchange.org Git - friendica.git/blob - include/threadupdate.php
Merge remote-tracking branch 'upstream/develop' into more-temp-stuff
[friendica.git] / include / threadupdate.php
1 <?php
2
3 use \Friendica\Core\Config;
4
5 require_once("boot.php");
6 require_once("include/threads.php");
7
8 global $a, $db;
9
10 if(is_null($a))
11         $a = new App;
12
13 if(is_null($db)) {
14         @include(".htconfig.php");
15         require_once("include/dba.php");
16         $db = new dba($db_host, $db_user, $db_pass, $db_data);
17         unset($db_host, $db_user, $db_pass, $db_data);
18 }
19
20 Config::load();
21
22 update_threads();
23 update_threads_mention();
24 killme();
25 ?>