Index: branches/NssMySQLAuth-rewrite/NssMySQLAuth/NssMySQLAuth.php |
— | — | @@ -29,7 +29,6 @@ |
30 | 30 | |
31 | 31 | $wgAutoloadClasses['NssMySQLAuthPlugin'] = $dir . 'NssMySQLAuthPlugin.php'; |
32 | 32 | $wgAutoloadClasses['Md5crypt'] = $dir . 'Md5crypt.php'; |
33 | | -$wgAutoloadClasses['SpecialAccountManager'] = $dir . 'SpecialAccountManager.php'; |
34 | 33 | |
35 | 34 | $wgNssMySQLAuthDB = false; |
36 | 35 | |
Index: branches/NssMySQLAuth-rewrite/NssMySQLAuth/AccountManager/NssProperties.php |
— | — | @@ -54,5 +54,8 @@ |
55 | 55 | $dbw->insert( 'user_props', $insert, __METHOD__ ); |
56 | 56 | } |
57 | 57 | |
58 | | - public static function getAll() { return array(); } |
| 58 | + public static function getAll() { |
| 59 | + global $wgUserProperties; |
| 60 | + return array_merge( array( 'username', 'email', 'active' ), $wgUserProperties ); |
| 61 | + } |
59 | 62 | } |
\ No newline at end of file |
Index: branches/NssMySQLAuth-rewrite/NssMySQLAuth/AccountManager/AccountManager.php |
— | — | @@ -9,8 +9,8 @@ |
10 | 10 | $wgAutoloadClasses['NssProperties'] = $dir . 'NssProperties.php'; |
11 | 11 | |
12 | 12 | $wgAutoloadClasses['SpecialAccountManager'] = $dir . 'SpecialAccountManager.php'; |
13 | | -$wgAutoloadClasses['AmUserListView'] = $dir . 'AmUserListView'; |
14 | | -$wgAutoloadClasses['AmUserView'] = $dir . 'AmUserView'; |
| 13 | +$wgAutoloadClasses['AmUserListView'] = $dir . 'AmUserListView.php'; |
| 14 | +$wgAutoloadClasses['AmUserView'] = $dir . 'AmUserView.php'; |
15 | 15 | |
16 | 16 | $wgSpecialPages['AccountManager'] = 'SpecialAccountManager'; |
17 | 17 | |