ChangeTags: Skip caching if some hooks aren't registered
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 13 Sep 2016 06:32:06 +0000 (23:32 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 13 Sep 2016 07:00:37 +0000 (00:00 -0700)
commitee81cf7b5905bd684e1307513868aa02885f7def
treeb9a5d65c8aabab900cf4dd8f320e9cd253d55251
parent978092f7844bcc69a8931f40bf51a057169829d1
ChangeTags: Skip caching if some hooks aren't registered

There is caching around the ChangeTagsListActive and ListDefinedTags
hooks that can be skipped if no callers are registered for them.

Change-Id: I0c8fccc358f80536fff7ad0bda1cab09181bca41
includes/changetags/ChangeTags.php