Skip to content

Commit 1ec4ac1

Browse files
authored
Update TrackingCodeCustomizer.php
1 parent 876c048 commit 1ec4ac1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

TrackingCodeCustomizer.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,11 @@ class TrackingCodeCustomizer extends \Piwik\Plugin
4040
'Piwik.getJavascriptCode' => 'applyTrackingCodeCustomizations'
4141
);
4242

43-
//2.15 includes a new function for registering hooks. 2.15 wi
4443
public function registerEvents()
4544
{
4645
return self::$hooks;
4746
}
48-
49-
//Pre 2.15 hook registration. Will be removed in Piwik 3. Kept for backwards compatibility with 2.12.
50-
//Pre ver3 will still call this in addition to registerEvents.
51-
//From reviewing the Piwik source this shouldn't be an issue as the hooks are not additive and this call will just overwrite the registerEvents call.
52-
public function getListHooksRegistered()
53-
{
54-
return self::$hooks;
55-
}
56-
47+
5748
/*
5849
* @param array &$sysparams
5950
* @key int idSite

0 commit comments

Comments
 (0)