src/bbn/api/virtualmin.php
public function delete_cache($command_name = '', $arguments= false){
    $uid = $this->hostname;
    if ( !empty($arguments) ){
      $uid .= md5(json_encode($arguments));
    }
    if ( !empty($this->cache_delete($uid, $command_name)) ){
      \bbn\x::log([$uid, $command_name], 'cache_delete');
      return true;
    }
    return false;
  }
public function delete_cache($command_name = '', $arguments= false){
    $uid = $this->hostname;
    if ( !empty($arguments) ){
      $uid .= md5(json_encode($arguments));
    }
    if ( !empty($this->cache_delete($uid, $command_name)) ){
      \bbn\x::log([$uid, $command_name], 'cache_delete');
      return true;
    }
    return false;
  }
public function delete_cache ( $ command_name = '' , $ arguments = false ) { $ uid = $ this -> hostname ; if ( ! empty ( $ arguments ) ) { $ uid .= md5 ( json_encode ( $ arguments ) ) ; } if ( ! empty ( $ this -> cache_delete ( $ uid , $ command_name ) ) ) { \ bbn \ x :: log ( [ $ uid , $ command_name ] , 'cache_delete' ) ; return true ; } return false ; }
This function allows the cancellation of the cache of the used commands

@param $uid file cache
@param $method name
@return bool
This function allows the cancellation of the cache of the used commands