From a3b912c823c5d0d7fce064defda6f1305b7bcdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 12 Mar 2012 22:51:29 +0100 Subject: [PATCH] Prevent constructing of Util. --- file/lib/util/ChatUtil.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index b5dc5f5..2e80b09 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -13,7 +13,7 @@ * @package be.bastelstu.wcf.chat * @subpackage util */ -class ChatUtil { +final class ChatUtil { /** * Matches a time-interval with modifiers. * Each part may be optionally separated by a comma @@ -200,4 +200,6 @@ public static function writeUserData(array $data) { $ush->update(WCF::getUser()->userID, $key, (isset(static::$serialize[$key])) ? serialize($value) : $value, $packageID); } } + + private function __construct() { } }