diff --git a/app/Models/Reseller.php b/app/Models/Reseller.php index 84fb696..b3dfd31 100644 --- a/app/Models/Reseller.php +++ b/app/Models/Reseller.php @@ -17,14 +17,6 @@ class Reseller extends Model public $incrementing = false; - - public static function resllerRelatedCacheForget(): void - { - Cache::forget('services_count');//Main page services_count cache - Cache::forget('due_soon');//Main page due_soon cache - Cache::forget('recently_added');//Main page recently_added cache - } - public static function resellerDataIndexPage() { return DB::table('reseller_hosting as s') diff --git a/app/Models/SeedBoxes.php b/app/Models/SeedBoxes.php index 3c810ba..4582881 100644 --- a/app/Models/SeedBoxes.php +++ b/app/Models/SeedBoxes.php @@ -17,14 +17,6 @@ class SeedBoxes extends Model protected $fillable = ['id', 'active', 'title', 'hostname', 'seed_box_type', 'provider_id', 'location_id', 'bandwidth', 'port_speed', 'disk', 'disk_type', 'disk_as_gb', 'was_promo', 'owned_since']; - public static function seedBoxRelatedCacheForget(): void - { - Cache::forget('services_count');//Main page services_count cache - Cache::forget('due_soon');//Main page due_soon cache - Cache::forget('recently_added');//Main page recently_added cache - Cache::forget('all_pricing');//All pricing - } - public static function seedBoxesDataIndexPage() { return DB::table('seedboxes as s') diff --git a/app/Models/Shared.php b/app/Models/Shared.php index d3dac0a..267244d 100644 --- a/app/Models/Shared.php +++ b/app/Models/Shared.php @@ -17,14 +17,6 @@ class Shared extends Model public $incrementing = false; - - public static function sharedRelatedCacheForget(): void - { - Cache::forget('services_count');//Main page services_count cache - Cache::forget('due_soon');//Main page due_soon cache - Cache::forget('recently_added');//Main page recently_added cache - } - public static function sharedDataIndexPage() { return DB::table('shared_hosting as s')