Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ec38e commit 2ca68fbCopy full SHA for 2ca68fb
2 files changed
.travis.yml
@@ -107,7 +107,7 @@ before_script:
107
- mysql -e 'create database piwik_tests;'
108
109
- ./tests/travis/prepare.sh
110
- # - ./plugins/ShortcodeTracker/setup_webserver.sh
+ # - ./tests/travis/setup_webserver.sh
111
112
- cd tests/PHPUnit
113
API.php
@@ -300,9 +300,6 @@ public function performRedirectForShortcode($code)
300
301
Piwik::postEvent(ShortcodeTracker::TRACK_REDIRECT_VISIT_EVENT, array($shortCode));
302
303
- $targetUrl = $this->getCache()->getRedirectUrlForShortcode($code);
304
-
305
306
if ($shortCode === null) {
307
throw new UnableToRedirectException(Piwik::translate('ShortcodeTracker_unable_to_perform_redirect'));
308
}
0 commit comments