From 10e7c4226fdd46fb366d1e6e080eb4cdb541686e Mon Sep 17 00:00:00 2001
From: JediKev <kevin@enhancesoft.com>
Date: Tue, 6 Nov 2018 09:51:04 -0600
Subject: [PATCH] oops: Remove DST From User Update

This addresses an issue where Users updating their profile will throw an SQL
error in the system logs. This is due to a line of code trying to set a
value for the `dst` column which no longer exists as of `1.10.0`.
---
 include/class.client.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/class.client.php b/include/class.client.php
index bcf3c4257..0d9bfb806 100644
--- a/include/class.client.php
+++ b/include/class.client.php
@@ -436,7 +436,6 @@ class ClientAccount extends UserAccount {
         if ($errors) return false;
 
         $this->set('timezone', $vars['timezone']);
-        $this->set('dst', isset($vars['dst']) ? 1 : 0);
         // Change language
         $this->set('lang', $vars['lang'] ?: null);
         Internationalization::setCurrentLanguage(null);
-- 
GitLab