Rename DI::apphelper() to DI::appHeler()
This commit is contained in:
parent
e320b010c7
commit
603af2fb19
31 changed files with 44 additions and 44 deletions
|
@ -284,7 +284,7 @@ function item_process(array $post, array $request, bool $preview, string $return
|
|||
unset($post['api_source']);
|
||||
|
||||
if (!empty($request['scheduled_at'])) {
|
||||
$scheduled_at = DateTimeFormat::convert($request['scheduled_at'], 'UTC', DI::apphelper()->getTimeZone());
|
||||
$scheduled_at = DateTimeFormat::convert($request['scheduled_at'], 'UTC', DI::appHelper()->getTimeZone());
|
||||
if ($scheduled_at > DateTimeFormat::utcNow()) {
|
||||
unset($post['created']);
|
||||
unset($post['edited']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue