original_string: protected function store_response($response) {
  
          set_config('recentfetch', time(), 'core_plugin');
          set_config('recentresponse', $response, 'core_plugin');
  
          if (defined('CACHE_DISABLE_ALL') and CACHE_DISABLE_ALL) {
              // Very nasty hack to work around cache coherency issues on admin/index.php?cache=0 page,
              // we definitely need to keep caches in sync when writing into DB at all times!
              \cache_helper::purge_all(true);
          }
  
          $this->restore_response(true);
      }
code: protected function store_response($response) {
  
          set_config('recentfetch', time(), 'core_plugin');
          set_config('recentresponse', $response, 'core_plugin');
  
          if (defined('CACHE_DISABLE_ALL') and CACHE_DISABLE_ALL) {
              // Very nasty hack to work around cache coherency issues on admin/index.php?cache=0 page,
              // we definitely need to keep caches in sync when writing into DB at all times!
              \cache_helper::purge_all(true);
          }
  
          $this->restore_response(true);
      }
code_tokens: protected function store_response ( $ response ) { set_config ( 'recentfetch' , time ( ) , 'core_plugin' ) ; set_config ( 'recentresponse' , $ response , 'core_plugin' ) ; if ( defined ( 'CACHE_DISABLE_ALL' ) and CACHE_DISABLE_ALL ) { // Very nasty hack to work around cache coherency issues on admin/index.php?cache=0 page, // we definitely need to keep caches in sync when writing into DB at all times! \ cache_helper :: purge_all ( true ) ; } $ this -> restore_response ( true ) ; }
docstring: Stores the valid fetched response for later usage
  
  This implementation uses the config_plugins table as the permanent storage.
  
  @param string $response raw valid data returned by {@link self::get_response()}
docstring_tokens: Stores the valid fetched response for later usage