public function resetDefault()
    {
        if ($record = $this->getSettingsRecord()) {
            $record->delete();
            unset(self::$instances[$this->recordCode]);
            Cache::forget($this->getCacheKey());
        }
    }
public function resetDefault()
    {
        if ($record = $this->getSettingsRecord()) {
            $record->delete();
            unset(self::$instances[$this->recordCode]);
            Cache::forget($this->getCacheKey());
        }
    }
public function resetDefault ( ) { if ( $ record = $ this -> getSettingsRecord ( ) ) { $ record -> delete ( ) ; unset ( self :: $ instances [ $ this -> recordCode ] ) ; Cache :: forget ( $ this -> getCacheKey ( ) ) ; } }
Reset the settings to their defaults, this will delete the record model
Reset the settings to their defaults this will delete the record model