Index: trunk/phase3/includes/User.php |
— | — | @@ -2053,6 +2053,7 @@ |
2054 | 2054 | */ |
2055 | 2055 | function getEffectiveGroups( $recache = false ) { |
2056 | 2056 | if ( $recache || is_null( $this->mEffectiveGroups ) ) { |
| 2057 | + wfProfileIn( __METHOD__ ); |
2057 | 2058 | $this->mEffectiveGroups = $this->getGroups(); |
2058 | 2059 | $this->mEffectiveGroups[] = '*'; |
2059 | 2060 | if( $this->getId() ) { |
— | — | @@ -2066,6 +2067,7 @@ |
2067 | 2068 | # Hook for additional groups |
2068 | 2069 | wfRunHooks( 'UserEffectiveGroups', array( &$this, &$this->mEffectiveGroups ) ); |
2069 | 2070 | } |
| 2071 | + wfProfileOut( __METHOD__ ); |
2070 | 2072 | } |
2071 | 2073 | return $this->mEffectiveGroups; |
2072 | 2074 | } |