update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
|
|
@ -13,10 +13,26 @@ use Piwik\Plugins\MobileMessaging\SMSProvider;
|
|||
/**
|
||||
* Used for testing
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
class StubbedProvider extends SMSProvider
|
||||
{
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return 'StubbedProvider';
|
||||
}
|
||||
|
||||
public function getDescription()
|
||||
{
|
||||
return 'Only during testing available';
|
||||
}
|
||||
|
||||
public function isAvailable()
|
||||
{
|
||||
return defined('PIWIK_TEST_MODE') && PIWIK_TEST_MODE;
|
||||
}
|
||||
|
||||
public function verifyCredential($apiKey)
|
||||
{
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue