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
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

paulbooker - October 15, 2008 - 10:58
Status:needs review» fixed

Nicely spotted!

I have removed the redundant logic in the if condition .

#2

paulbooker - October 15, 2008 - 11:09
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.