]> git.mxchange.org Git - friendica.git/blob - include/threadupdate.php
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / include / threadupdate.php
1 <?php
2 require_once("boot.php");
3 require_once("include/threads.php");
4
5 global $a, $db;
6
7 if(is_null($a))
8         $a = new App;
9
10 if(is_null($db)) {
11         @include(".htconfig.php");
12         require_once("include/dba.php");
13         $db = new dba($db_host, $db_user, $db_pass, $db_data);
14         unset($db_host, $db_user, $db_pass, $db_data);
15 }
16
17 load_config('config');
18 load_config('system');
19
20 update_threads();
21 update_threads_mention();
22 killme();
23 ?>