diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-16 02:26:10 +0400 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-16 02:26:10 +0400 |
commit | 444144d0ff39a8d36489104a41648e5fc31a71d1 (patch) | |
tree | 7e54f6024143453a195ce641b5c981b691aec58a /core/Piwik.php | |
parent | d9562a6b654d0a7d615671be0e9450b10e0806b5 (diff) |
Removed `Piwik::getJavascriptCode()` and its deprecation notice: it wasn't an API method
Diffstat (limited to 'core/Piwik.php')
-rw-r--r-- | core/Piwik.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/Piwik.php b/core/Piwik.php index 77cf4da82b..f8d6df175e 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -119,26 +119,6 @@ class Piwik } /** - * Returns the Javascript code to be inserted on every page to track - * - * @param int $idSite - * @param string $piwikUrl http://path/to/piwik/directory/ - * @return string - * - * @deprecated Use {@link TrackerCodeGenerator} instead - * @see \Piwik\Tracker\TrackerCodeGenerator - */ - public static function getJavascriptCode($idSite, $piwikUrl, $mergeSubdomains = false, $groupPageTitlesByDomain = false, - $mergeAliasUrls = false, $visitorCustomVariables = false, $pageCustomVariables = false, - $customCampaignNameQueryParam = false, $customCampaignKeywordParam = false, - $doNotTrack = false, $disableCookies = false) - { - $generator = new Tracker\TrackerCodeGenerator(); - - return $generator->generate($idSite, $piwikUrl, $mergeSubdomains, $groupPageTitlesByDomain, $mergeAliasUrls, $visitorCustomVariables, $pageCustomVariables, $customCampaignNameQueryParam, $customCampaignKeywordParam, $doNotTrack, $disableCookies); - } - - /** * Generate a title for image tags * * @return string |