Some code adjustements and performance improvements to the DFRN feed.
This commit is contained in:
parent
501c45def5
commit
a8bef370d3
4 changed files with 43 additions and 47 deletions
|
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* @file include/dbclean.php
|
||||
* @brief The script is called from time to time to clean the database entries and remove orphaned data.
|
||||
*/
|
||||
require_once("boot.php");
|
||||
|
||||
global $a, $db;
|
||||
|
|
@ -19,6 +23,9 @@ load_config('system');
|
|||
remove_orphans();
|
||||
killme();
|
||||
|
||||
/**
|
||||
* @brief Remove orphaned database entries
|
||||
*/
|
||||
function remove_orphans() {
|
||||
global $db;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue