Commit 7fc8a34d authored by Christoph Zysik's avatar Christoph Zysik

looks like a copy paste job but ... yeah no comment

parent ff755ead
......@@ -38,7 +38,7 @@ class zReloads
public function deleteCampaignByUserId( $uid )
{
$sql = ' DELETE FROM `'.DB_PREIX.'_campaign_reloads` WHERE `uid` <= :uid ';
$sql = ' DELETE FROM `'.DB_PREIX.'_campaign_reloads` WHERE `uid` = :uid ';
$sql_params = array( 'uid' => $uid );
return $this->parent->database->rawDelete( $sql, $sql_params );
......@@ -46,7 +46,7 @@ class zReloads
public function deleteContentByUserId( $uid )
{
$sql = ' DELETE FROM `'.DB_PREIX.'_content_reloads` WHERE `uid` <= :uid ';
$sql = ' DELETE FROM `'.DB_PREIX.'_content_reloads` WHERE `uid` = :uid ';
$sql_params = array( 'uid' => $uid );
return $this->parent->database->rawDelete( $sql, $sql_params );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment