1
0
Fork 0

Some code adjustements and performance improvements to the DFRN feed.

This commit is contained in:
Michael Vogel 2016-10-21 23:04:04 +00:00
commit a8bef370d3
4 changed files with 43 additions and 47 deletions

View file

@ -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;