Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -40,6 +40,11 @@ |
41 | 41 | parent::__construct( $query, $moduleName, 'le' ); |
42 | 42 | } |
43 | 43 | |
| 44 | + private $fld_ids = false, $fld_title = false, $fld_type = false, |
| 45 | + $fld_action = false, $fld_user = false, $fld_userid = false, |
| 46 | + $fld_timestamp = false, $fld_comment = false, $fld_parsedcomment = false, |
| 47 | + $fld_details = false, $fld_tags = false; |
| 48 | + |
44 | 49 | public function execute() { |
45 | 50 | $params = $this->extractRequestParams(); |
46 | 51 | $db = $this->getDB(); |
Index: trunk/phase3/includes/api/ApiQueryUserInfo.php |
— | — | @@ -36,6 +36,8 @@ |
37 | 37 | */ |
38 | 38 | class ApiQueryUserInfo extends ApiQueryBase { |
39 | 39 | |
| 40 | + private $prop = array(); |
| 41 | + |
40 | 42 | public function __construct( $query, $moduleName ) { |
41 | 43 | parent::__construct( $query, $moduleName, 'ui' ); |
42 | 44 | } |
— | — | @@ -46,8 +48,6 @@ |
47 | 49 | |
48 | 50 | if ( !is_null( $params['prop'] ) ) { |
49 | 51 | $this->prop = array_flip( $params['prop'] ); |
50 | | - } else { |
51 | | - $this->prop = array(); |
52 | 52 | } |
53 | 53 | |
54 | 54 | $r = $this->getCurrentUserInfo(); |