diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-02-15 19:55:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 19:55:31 +0300 |
commit | 8716e8d20253ec81469bc0fb8532584c8ca3d57c (patch) | |
tree | 1f43de8672106c51c456d0f3a4b0ac61143f0818 /plugins/Referrers | |
parent | 87498556369e6a7156049b2de1e9b91a82b24aff (diff) |
Use renamed composer packages (#12518)
* composer package piwik/searchengine-and-social-list is now matomo/searchengine-and-social-list
* composer package piwik/referrer-spam-blacklist is now matomo/referrer-spam-blacklist
* update icon submodule
* update git url
Diffstat (limited to 'plugins/Referrers')
-rw-r--r-- | plugins/Referrers/SearchEngine.php | 2 | ||||
-rw-r--r-- | plugins/Referrers/Social.php | 2 | ||||
-rw-r--r-- | plugins/Referrers/Tasks.php | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Referrers/SearchEngine.php b/plugins/Referrers/SearchEngine.php index 431c72c87f..8f7d174281 100644 --- a/plugins/Referrers/SearchEngine.php +++ b/plugins/Referrers/SearchEngine.php @@ -23,7 +23,7 @@ class SearchEngine extends Singleton const OPTION_STORAGE_NAME = 'SearchEngineDefinitions'; /** @var string location of definition file (relative to PIWIK_INCLUDE_PATH) */ - const DEFINITION_FILE = '/vendor/piwik/searchengine-and-social-list/SearchEngines.yml'; + const DEFINITION_FILE = '/vendor/matomo/searchengine-and-social-list/SearchEngines.yml'; protected $definitionList = null; diff --git a/plugins/Referrers/Social.php b/plugins/Referrers/Social.php index 9b81cb7adc..5c455c5379 100644 --- a/plugins/Referrers/Social.php +++ b/plugins/Referrers/Social.php @@ -20,7 +20,7 @@ class Social extends Singleton const OPTION_STORAGE_NAME = 'SocialDefinitions'; /** @var string location of definition file (relative to PIWIK_INCLUDE_PATH) */ - const DEFINITION_FILE = '/vendor/piwik/searchengine-and-social-list/Socials.yml'; + const DEFINITION_FILE = '/vendor/matomo/searchengine-and-social-list/Socials.yml'; protected $definitionList = null; diff --git a/plugins/Referrers/Tasks.php b/plugins/Referrers/Tasks.php index 050692f331..24e58daab4 100644 --- a/plugins/Referrers/Tasks.php +++ b/plugins/Referrers/Tasks.php @@ -26,11 +26,11 @@ class Tasks extends \Piwik\Plugin\Tasks /** * Update the search engine definitions * - * @see https://github.com/piwik/searchengine-and-social-list + * @see https://github.com/matomo-org/searchengine-and-social-list */ public function updateSearchEngines() { - $url = 'https://raw.githubusercontent.com/piwik/searchengine-and-social-list/master/SearchEngines.yml'; + $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/SearchEngines.yml'; $list = Http::sendHttpRequest($url, 30); $searchEngines = SearchEngine::getInstance()->loadYmlData($list); if (count($searchEngines) < 200) { @@ -42,11 +42,11 @@ class Tasks extends \Piwik\Plugin\Tasks /** * Update the social definitions * - * @see https://github.com/piwik/searchengine-and-social-list + * @see https://github.com/matomo-org/searchengine-and-social-list */ public function updateSocials() { - $url = 'https://raw.githubusercontent.com/piwik/searchengine-and-social-list/master/Socials.yml'; + $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml'; $list = Http::sendHttpRequest($url, 30); $socials = Social::getInstance()->loadYmlData($list); if (count($socials) < 50) { @@ -54,4 +54,4 @@ class Tasks extends \Piwik\Plugin\Tasks } Option::set(Social::OPTION_STORAGE_NAME, base64_encode(serialize($socials))); } -}
\ No newline at end of file +} |