Unnecessary code on line 174
joewang - October 15, 2008 - 01:06
| Project: | Content Type Administration by Organic Group |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The expression for the if condition should only be _og_content_type_admin_is_admin($group), since that function encompasses all the other checks.

#1
Nicely spotted!
I have removed the redundant logic in the if condition .
#2