@@ 4510-4513 (lines=4) @@ | ||
4507 | // $args[0] = appkey - ignored |
|
4508 | $username = $args[2]; |
|
4509 | $password = $args[3]; |
|
4510 | if ( isset( $args[4] ) ) |
|
4511 | $query = array( 'numberposts' => absint( $args[4] ) ); |
|
4512 | else |
|
4513 | $query = array(); |
|
4514 | ||
4515 | if ( !$user = $this->login($username, $password) ) |
|
4516 | return $this->error; |
|
@@ 5612-5615 (lines=4) @@ | ||
5609 | ||
5610 | $username = $args[1]; |
|
5611 | $password = $args[2]; |
|
5612 | if ( isset( $args[3] ) ) |
|
5613 | $query = array( 'numberposts' => absint( $args[3] ) ); |
|
5614 | else |
|
5615 | $query = array(); |
|
5616 | ||
5617 | if ( !$user = $this->login($username, $password) ) |
|
5618 | return $this->error; |
|
@@ 5887-5890 (lines=4) @@ | ||
5884 | ||
5885 | $username = $args[1]; |
|
5886 | $password = $args[2]; |
|
5887 | if ( isset( $args[3] ) ) |
|
5888 | $query = array( 'numberposts' => absint( $args[3] ) ); |
|
5889 | else |
|
5890 | $query = array(); |
|
5891 | ||
5892 | if ( !$user = $this->login($username, $password) ) |
|
5893 | return $this->error; |