mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Functions for the new threas table, script for updating this table
This commit is contained in:
parent
b4fb951bf9
commit
69b7ad2450
2 changed files with 122 additions and 0 deletions
23
include/threadupdate.php
Normal file
23
include/threadupdate.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
require_once("boot.php");
|
||||
require_once("include/threads.php");
|
||||
|
||||
global $a, $db;
|
||||
|
||||
if(is_null($a))
|
||||
$a = new App;
|
||||
|
||||
if(is_null($db)) {
|
||||
@include(".htconfig.php");
|
||||
require_once("include/dba.php");
|
||||
$db = new dba($db_host, $db_user, $db_pass, $db_data);
|
||||
unset($db_host, $db_user, $db_pass, $db_data);
|
||||
}
|
||||
|
||||
load_config('config');
|
||||
load_config('system');
|
||||
|
||||
update_threads();
|
||||
update_threads_mention();
|
||||
killme();
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue