Skip to content

Commit

Permalink
Ticket #258 - minor issue fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Oct 5, 2016
1 parent 7916f84 commit e91ee5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/boonex/market/classes/BxMarketDb.php
Expand Up @@ -433,10 +433,10 @@ function processExpiredLicenses()

//--- Move to deleted licenses table with 'expire' as reason.
$sQuery = "INSERT IGNORE INTO `" . $this->_oConfig->CNF['TABLE_LICENSES_DELETED'] . "` SELECT *, 'expire' AS `reason`, UNIX_TIMESTAMP() AS `deleted` FROM `" . $this->_oConfig->CNF['TABLE_LICENSES'] . "` WHERE " . $sWhereClause;
$this->query($sQuery);
$this->query($sQuery, $aWhereBindings);

$sSql = "DELETE FROM `" . $this->_oConfig->CNF['TABLE_LICENSES'] . "` WHERE " . $sWhereClause;
return $this->query($sSql) !== false;
$sQuery = "DELETE FROM `" . $this->_oConfig->CNF['TABLE_LICENSES'] . "` WHERE " . $sWhereClause;
return $this->query($sQuery, $aWhereBindings) !== false;
}

protected function _deassociateAttachmentWithContent($sTable, $iContentId, $iFileId)
Expand Down

0 comments on commit e91ee5b

Please sign in to comment.