mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
63a76e88a1
@ -412,9 +412,7 @@ class SFTP extends SSH2
|
||||
*/
|
||||
function login($username)
|
||||
{
|
||||
$args = func_get_args();
|
||||
$this->auth[] = $args;
|
||||
if (!call_user_func_array(array(&$this, '_login'), $args)) {
|
||||
if (!call_user_func_array(array(&$this, 'parent::login'), func_get_args())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user