diff options
author | Jore <contact@jore.cc> | 2024-04-10 07:36:01 +1000 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-08-07 09:33:09 +0200 |
commit | 96638fd6b2544043b48f9c64eb11033086cf1685 (patch) | |
tree | 2c9c5cc04863044db09c91f80f3e4cfdd74042c8 /core | |
parent | a0566f881d57b5dd70bc7459f60f8f293818e289 (diff) | |
download | nextcloud-server-96638fd6b2544043b48f9c64eb11033086cf1685.tar.gz nextcloud-server-96638fd6b2544043b48f9c64eb11033086cf1685.zip |
occ: Remove timezone changes.
Signed-off-by: Jore <contact@jore.cc>
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/User/Info.php | 3 | ||||
-rw-r--r-- | core/Command/User/LastSeen.php | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php index 0d54ca412c6..f8b76a40a1f 100644 --- a/core/Command/User/Info.php +++ b/core/Command/User/Info.php @@ -49,9 +49,6 @@ class Info extends Base { $groups = $this->groupManager->getUserGroupIds($user); - if (ini_get('date.timezone')) { - date_default_timezone_set(ini_get('date.timezone')); - } if ($user->getLastLogin() == 0) { $lastseen = "never"; } else { diff --git a/core/Command/User/LastSeen.php b/core/Command/User/LastSeen.php index 2a94bb89baf..61a6c97ce72 100644 --- a/core/Command/User/LastSeen.php +++ b/core/Command/User/LastSeen.php @@ -44,10 +44,6 @@ class LastSeen extends Base { protected function execute(InputInterface $input, OutputInterface $output): int { $singleUserId = $input->getArgument('uid'); - if (ini_get('date.timezone')) { - date_default_timezone_set(ini_get('date.timezone')); - } - if ($singleUserId) { $user = $this->userManager->get($singleUserId); if (is_null($user)) { |