20 $user = $event->getObject();
23 if (empty(
$user->guid)) {
35 1 => [
'admin_welcome',
'elgg_blog',
'content_stats'],
36 2 => [
'online_users',
'new_users'],
42 if (
$guid ===
false) {
$guid
Reset an ElggUpgrade.
foreach( $paths as $path)
Models an event passed to event handlers.
const ELGG_IGNORE_ACCESS
elgg_call() flags
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags.
get_entity(int $guid)
Loads and returns an entity object from a guid.
if(parse_url(elgg_get_site_url(), PHP_URL_PATH) !=='/') if(file_exists(elgg_get_root_path() . 'robots.txt'))
Set robots.txt.