Code standards

This commit is contained in:
Michael 2024-01-21 17:05:18 +00:00
parent 5a33a494e8
commit 39e1f2c0fc

View file

@ -67,6 +67,11 @@ class SearchIndex
return DBA::update('post-searchindex', ['searchtext' => $searchtext], ['uri-id' => $uri_id]); return DBA::update('post-searchindex', ['searchtext' => $searchtext], ['uri-id' => $uri_id]);
} }
/**
* Expire old searchindex entries
*
* @return void
*/
public static function expire() public static function expire()
{ {
$limit = self::searchAgeDateLimit(); $limit = self::searchAgeDateLimit();