diff options
author | Shauren <shauren.trinity@gmail.com> | 2012-09-13 16:38:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2012-09-13 16:38:18 +0200 |
commit | f03e650474463ad7454294e0fb5d6f169719ecbd (patch) | |
tree | 3e983db618358fc16fb140e018c20a617d8edb47 /src/server/shared/Utilities/Util.h | |
parent | 13e140cfac6f8de5e79d804e197903d47f1b017d (diff) |
Core/Calendar: Fixed breaking calendar event UI after relogging
Diffstat (limited to 'src/server/shared/Utilities/Util.h')
-rwxr-xr-x | src/server/shared/Utilities/Util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/shared/Utilities/Util.h b/src/server/shared/Utilities/Util.h index 835473045d4..37782c31d8b 100755 --- a/src/server/shared/Utilities/Util.h +++ b/src/server/shared/Utilities/Util.h @@ -48,12 +48,6 @@ std::string secsToTimeString(uint64 timeInSecs, bool shortText = false, bool hou uint32 TimeStringToSecs(const std::string& timestring); std::string TimeToTimestampStr(time_t t); -inline uint32 secsToTimeBitFields(time_t secs) -{ - tm* lt = localtime(&secs); - return uint32((lt->tm_year - 100) << 24 | lt->tm_mon << 20 | (lt->tm_mday - 1) << 14 | lt->tm_wday << 11 | lt->tm_hour << 6 | lt->tm_min); -} - /* Return a random number in the range min..max; (max-min) must be smaller than 32768. */ int32 irand(int32 min, int32 max); |