includes/api/ApiQueryUserInfo.php 1 location
|
@@ 49-51 (lines=3) @@
|
| 46 |
|
$this->params = $this->extractRequestParams(); |
| 47 |
|
$result = $this->getResult(); |
| 48 |
|
|
| 49 |
|
if ( !is_null( $this->params['prop'] ) ) { |
| 50 |
|
$this->prop = array_flip( $this->params['prop'] ); |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
$r = $this->getCurrentUserInfo(); |
| 54 |
|
$result->addValue( 'query', $this->getModuleName(), $r ); |
includes/api/ApiQueryUsers.php 1 location
|
@@ 102-106 (lines=5) @@
|
| 99 |
|
public function execute() { |
| 100 |
|
$params = $this->extractRequestParams(); |
| 101 |
|
|
| 102 |
|
if ( !is_null( $params['prop'] ) ) { |
| 103 |
|
$this->prop = array_flip( $params['prop'] ); |
| 104 |
|
} else { |
| 105 |
|
$this->prop = []; |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
$users = (array)$params['users']; |
| 109 |
|
$goodNames = $done = []; |