[Tickets #8657] Re: Cyclic Dependency in ssh2.php

bugs at horde.org bugs at horde.org
Wed Oct 28 08:28:12 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8657
------------------------------------------------------------------------------
  Ticket             | 8657
  Updated By         | rene.plattner at uibk.ac.at
  Summary            | Cyclic Dependency in ssh2.php
  Queue              | Horde Base
  Version            | 3.3.5
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rene.plattner at uibk.ac.at (2009-10-28 04:28) wrote:

> Are you reading ruby instead of PHP? @ silences errors in PHP, it  
> doesn't call a class method.

Joke?

 From lib/VFS/ssh2.php:

Look at these functions:

     /**
      * Sends local file to remote host.
      * This function exists because the php_scp_* functions doesn't  
seem to work on some hosts.
      *
      * @access private
      *
      * @param string $local   Full path to the local file.
      * @param string $remote  Full path to the remote location.
      *
      * @return boolean TRUE on success, FALSE on failure.
      */
     function _send($local, $remote)
     {
         return copy($local, $this->_wrap($remote));
     }

     /**
      * Receives file from remote host.
      * This function exists because the php_scp_* functions doesn't  
seem to work on some hosts.
      *
      * @access private
      *
      * @param string $local  Full path to the local file.
      * @param string $remote Full path to the remote location.
      *
      * @return boolean TRUE on success, FALSE on failure.
      */
     function _recv($remote, $local)
     {
         return copy($this->_wrap($remote), $local);
     }

Which copy methode is here called?

Kind regards!






More information about the bugs mailing list