Skip to content

Commit

Permalink
Merge pull request #651 from spotweb/analysis-641yR6
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Sweepr committed Jan 17, 2021
2 parents 7f79d82 + 4365d0e commit de85e42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/dao/Base/Dao_Base_Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function getCommentsFull($userId, $nntpRefs)
SpotTiming::start(__CLASS__.'::'.__FUNCTION__);

$refs = $this->_conn->arrayKeyToIn($nntpRefs);

if (!isset($refs) || $refs == '') {
return [];
} // if
Expand Down Expand Up @@ -260,7 +260,7 @@ public function getNewCommentCountFor($nntpRefList, $ourUserId)

// prepare a list of IN values
$msgIdList = $this->_conn->arrayKeyToIn($nntpRefList, 'messageid');

if (!isset($msgIdList) || $msgIdList == '') {
return [];
} // if
Expand Down
6 changes: 3 additions & 3 deletions lib/dao/Base/Dao_Base_Spot.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function updateSpotRating($spotMsgIdList)

// prepare a list of IN values
$msgIdList = $this->_conn->arrayKeyToIn($spotMsgIdList);

if (!isset($msgIdList) || $msgIdList == '') {
return;
} // if
Expand Down Expand Up @@ -311,7 +311,7 @@ public function updateSpotCommentCount($spotMsgIdList)

// prepare a list of IN values
$msgIdList = $this->_conn->arrayKeyToIn($spotMsgIdList);

if (!isset($msgIdList) || $msgIdList == '') {
return;
} // if
Expand Down Expand Up @@ -343,7 +343,7 @@ public function updateSpotReportCount($spotMsgIdList)

// prepare a list of IN values
$msgIdList = $this->_conn->arrayKeyToIn($spotMsgIdList);

if (!isset($msgIdList) || $msgIdList == '') {
return;
} // if
Expand Down
2 changes: 1 addition & 1 deletion lib/dao/Mysql/Dao_Mysql_Spot.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function removeSpots($spotMsgIdList)

// prepare a list of IN values
$msgIdList = $this->_conn->arrayKeyToIn($spotMsgIdList);

if (!isset($msgIdList) || $msgIdList == '') {
return;
} // if
Expand Down

0 comments on commit de85e42

Please sign in to comment.