Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2009-02-19 05:04:32 +0300
committermattpiwik <matthieu.aubry@gmail.com>2009-02-19 05:04:32 +0300
commit3dbb5f95f0619db038a9611df252cedbf5778202 (patch)
treea186e0026d009665e3e950c74dc9043617159185 /core/Updater.php
parente68e02876949a88d5bcaec201716d47c723a448a (diff)
- adding an update check mechanism: once a day, piwik will check against api.piwik.org to check if a new piwik release is available. If a new release is available, the top right orange message will display: "Piwik 0.2.30 is available! Please update now (see changes)." with link to piwik.org/docs/update and piwik.org/changelog
- adding helper function to send http request with enforced timeout (to make sure that the piwik UI doesn't hang for 30 seconds when checking for a new release once a day, if piwik.org down) - adding some installation strings that weren't in the translation file already - adding two checkboxes during installation: register to piwik major & security releases newsletter, register for general piwik newsletter. git-svn-id: http://dev.piwik.org/svn/trunk@909 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Updater.php b/core/Updater.php
index 93523b8a79..5f14802d9c 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -35,7 +35,7 @@ class Piwik_Updater
public function recordComponentSuccessfullyUpdated($name, $version)
{
try {
- Piwik_UpdateOption('version_'.$name, $version, $autoload = 1);
+ Piwik_SetOption('version_'.$name, $version, $autoload = 1);
} catch(Exception $e) {
// case when the option table is not yet created (before 0.2.10)
}