31 'batch_inc_offset' =>
false,
45 $sub->select(
'guid_one')
48 return $qb->
compare(
"{$main_alias}.guid",
'not in', $sub->getSQL());
52 'property' =>
'time_deleted',
60 foreach ($entities as
$entity) {
61 if ((
microtime(
true) - $starttime) > 300) {
66 if (!$entity->delete(
true,
true)) {
67 $entities->reportFailure();
$retention
Show a notice about the retention period of trashed items.
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
subquery(string $table, string $alias=null)
Creates a new SelectQueryBuilder for join/where sub queries using the DB connection of the primary Qu...
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
Cleanup deleted entities from the database.
Database abstraction query builder.
const ELGG_IGNORE_ACCESS
elgg_call() flags
const ELGG_SHOW_DISABLED_ENTITIES
static normalizeTimestamp($time)
Returns timestamp value of the time representation.
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
compare(string $x, string $comparison, $y=null, string $type=null, bool $case_sensitive=null)
Build value comparison clause.
const ELGG_SHOW_DELETED_ENTITIES
const ELGG_VALUE_TIMESTAMP
__invoke(\Elgg\Event $event)
After a grace period remove deleted entities from the database.
Models an event passed to event handlers.