service/inbox.php
Method CreateMessage
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CreateMessage($DialogInfo, $Content)
{
global $DB, $CurUserID, $TimeStamp;
if (empty($CurUserID) || empty($DialogInfo) || empty($Content)) {
return false;
Method GetInboxID
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function GetInboxID($ReceiverName)
{
global $DB, $CurUserID, $CurUserName, $TimeStamp;
if (empty($CurUserID) || empty($ReceiverName)) {
return 0;