lianglee/ban — comment on commit 495ab3c563da626315065c357dd1b80850b61975
File:  line 0
By cash:

Thanks, Liang!

Two comments:
1. ban_admin_menu() can be replaced by a call to elgg_register_admin_menu_item(). See the logbrowser plugin for an example of that. If we do that, then we could remove ban_page_handler() and use the default admin page handler just like the logbrowser does.

2. Before php functions we use phpdoc format for comments:
```
/**
* Comment that describes the function
*
* @param $name This variable is used for something
* @return
*/
```
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html