openscholar/openscholar — pull request #501 by amitaibu (2012-10-09 11:31:48+00:00)
Title: CP-user code style and OG related cleanup

Some code cleanup for issue #277:

* use menu_get_item() to find current path
* use hook_field_access() instead of setting ```#access = FALSE```
* use og_group() instead of submitting another form
* coding standarts