Increase the year
This commit is contained in:
parent
7307646cf8
commit
fe897c7ef4
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @copyright Copyright (C) 2010-2022, the Friendica project
|
* @copyright Copyright (C) 2010-2023, the Friendica project
|
||||||
*
|
*
|
||||||
* @license GNU AGPL version 3 or any later version
|
* @license GNU AGPL version 3 or any later version
|
||||||
*
|
*
|
||||||
|
|
|
@ -816,7 +816,11 @@ class Notifier
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fill the item cache
|
// Fill the item cache
|
||||||
ActivityPub\Transmitter::createCachedActivityFromItem($target_item['id'], true);
|
$cache = ActivityPub\Transmitter::createCachedActivityFromItem($target_item['id'], true);
|
||||||
|
if (empty($cache)) {
|
||||||
|
Logger::info('Item cache was not created. The post will not be distributed.', ['id' => $target_item['id'], 'url' => $target_item['uri'], 'verb' => $target_item['verb']]);
|
||||||
|
return ['count' => 0, 'contacts' => []];
|
||||||
|
}
|
||||||
|
|
||||||
$delivery_queue_count = 0;
|
$delivery_queue_count = 0;
|
||||||
$contacts = [];
|
$contacts = [];
|
||||||
|
|
Loading…
Reference in a new issue