Changeset 1712687
- Timestamp:
- 08/12/2017 11:28:47 PM (9 years ago)
- Location:
- chatwee/trunk
- Files:
-
- 2 edited
-
chatwee.php (modified) (2 diffs)
-
lib/ChatweeV2_SDK/Chatwee/Configuration.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chatwee/trunk/chatwee.php
r1712683 r1712687 5 5 Plugin URI: https://chatwee.com/ 6 6 Description: WordPress Chat by Chatwee is fully customizable social chat & comment platform for websites and blogs. With Chatwee you can engage your online community and provide real-time communication. 7 Version: 2.0. 37 Version: 2.0.4 8 8 Author: Chatwee Ltd 9 9 Author URI: https://chatwee.com/ … … 150 150 ChatweeV2_Configuration::setChatId($chatwee_settings["chat_id"]); 151 151 ChatweeV2_Configuration::setClientKey($chatwee_settings["client_key"]); 152 ChatweeV2_Configuration::setCustomUserAgent("Chatwee Wordpress Plugin 2.0. 3");152 ChatweeV2_Configuration::setCustomUserAgent("Chatwee Wordpress Plugin 2.0.4"); 153 153 154 154 if($chatwee_settings["disable_offline_users"] === true && $chatwee_settings["enable_sso"] === true && is_user_logged_in() === false && ChatweeV2_Session::isSessionSet() === true) { -
chatwee/trunk/lib/ChatweeV2_SDK/Chatwee/Configuration.php
r1564521 r1712687 7 7 private static $_clientKey = null; 8 8 9 private static $_customUserAgent = null; 10 9 11 public static function setChatId($chatId) { 10 12 self::$_chatId = $chatId; … … 13 15 public static function setClientKey($clientKey) { 14 16 self::$_clientKey = $clientKey; 17 } 18 19 public static function setCustomUserAgent($customUserAgent) { 20 self::$_customUserAgent = $customUserAgent; 15 21 } 16 22 … … 23 29 } 24 30 31 public static function getCustomUserAgent() { 32 return self::$_customUserAgent; 33 } 34 25 35 public static function isConfigurationSet() { 26 36 return self::$_chatId !== null && self::$_clientKey !== null;
Note: See TracChangeset
for help on using the changeset viewer.