-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs #4996 added update script b4 to make sure this update will be ex…
…ecuted
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* Piwik - free/libre analytics platform | ||
* | ||
* @link http://piwik.org | ||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | ||
* | ||
*/ | ||
|
||
namespace Piwik\Updates; | ||
|
||
use Piwik\Updates; | ||
|
||
/** | ||
*/ | ||
class Updates_2_7_0_b4 extends Updates | ||
{ | ||
static function update() | ||
{ | ||
$pluginManager = \Piwik\Plugin\Manager::getInstance(); | ||
|
||
try { | ||
$pluginManager->activatePlugin('Contents'); | ||
} catch(\Exception $e) { | ||
} | ||
} | ||
} | ||
|