Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -128,6 +128,7 @@ |
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
| 132 | + * Insert to the database |
132 | 133 | * @return bool |
133 | 134 | */ |
134 | 135 | public static function UpdateDb() { |
— | — | @@ -199,6 +200,7 @@ |
200 | 201 | } |
201 | 202 | |
202 | 203 | /** |
| 204 | + * Delete user who logged out |
203 | 205 | * @param $userName string |
204 | 206 | * @return bool |
205 | 207 | */ |
Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php |
— | — | @@ -33,6 +33,7 @@ |
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
| 37 | + * Called everytime when it's needed to update db |
37 | 38 | * @return bool |
38 | 39 | */ |
39 | 40 | public static function updateStatus() { |
— | — | @@ -41,6 +42,7 @@ |
42 | 43 | } |
43 | 44 | |
44 | 45 | /** |
| 46 | + * Creates a bar |
45 | 47 | * @param $article Article |
46 | 48 | * @param $outputDone bool |
47 | 49 | * @param $pcache string |
— | — | @@ -77,6 +79,7 @@ |
78 | 80 | } |
79 | 81 | |
80 | 82 | /** |
| 83 | + * Insert user options |
81 | 84 | * @param $user User |
82 | 85 | * @param $preferences array |
83 | 86 | * @return bool |
— | — | @@ -112,7 +115,7 @@ |
113 | 116 | |
114 | 117 | /** |
115 | 118 | * @param $magicWords array |
116 | | - * @param $ln string? |
| 119 | + * @param $ln string (language) |
117 | 120 | * @return bool |
118 | 121 | */ |
119 | 122 | public static function magicWordVar( array &$magicWords, $ln ) { |