Move Temporal::convert() to DateTimeFormat::convert()
This commit is contained in:
parent
b7a7355292
commit
5e7285b9ba
64 changed files with 568 additions and 551 deletions
|
@ -8,7 +8,7 @@ namespace Friendica\Worker;
|
|||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
Class CronHooks {
|
||||
public static function execute($hook = '') {
|
||||
|
@ -45,7 +45,7 @@ Class CronHooks {
|
|||
|
||||
logger('cronhooks: start');
|
||||
|
||||
$d = Temporal::utcNow();
|
||||
$d = DateTimeFormat::utcNow();
|
||||
|
||||
if (is_array($a->hooks) && array_key_exists("cron", $a->hooks)) {
|
||||
foreach ($a->hooks["cron"] as $hook) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue