refactor(shop-coupon): migrate admin module to DI and release 0.266
This commit is contained in:
@@ -148,11 +148,13 @@ class PromotionRepository
|
||||
}
|
||||
|
||||
$this->invalidateActivePromotionsCache();
|
||||
\S::delete_dir('../temp/');
|
||||
return $id;
|
||||
}
|
||||
|
||||
$this->db->update('pp_shop_promotion', $row, ['id' => $promotionId]);
|
||||
$this->invalidateActivePromotionsCache();
|
||||
\S::delete_dir('../temp/');
|
||||
|
||||
return $promotionId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user