Removed defunct cache forget functions
This commit is contained in:
parent
f70d01552b
commit
81b8dcaa74
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user