Removed defunct cache forget functions

This commit is contained in:
cp6 2022-05-16 14:44:05 +10:00
parent f70d01552b
commit 81b8dcaa74
3 changed files with 0 additions and 24 deletions

View File

@ -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')

View File

@ -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')

View File

@ -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')