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:
authormattab <matthieu.aubry@gmail.com>2013-10-09 07:17:28 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 07:17:28 +0400
commit6d46df58dd4b16a5c8402e34ed018439cbbadee1 (patch)
treeefaeabfe94ab8a601a96c80e1333ae83513f803e /core/Http.php
parent9fb5490490913717ccfacec6f597181091be214f (diff)
Refs #4202 removing functions Piwik_GetOption and SetOption. Now use: Option::get and Option::set and Option::delete
Diffstat (limited to 'core/Http.php')
-rw-r--r--core/Http.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Http.php b/core/Http.php
index 2b30cc620d..ddd773999f 100644
--- a/core/Http.php
+++ b/core/Http.php
@@ -581,9 +581,9 @@ class Http
throw new Exception(Piwik_Translate('General_DownloadFail_HttpRequestFail'));
}
- Piwik_SetOption($downloadOption, $expectedFileSize);
+ Option::set($downloadOption, $expectedFileSize);
} else {
- $expectedFileSize = (int)Piwik_GetOption($downloadOption);
+ $expectedFileSize = (int)Option::get($downloadOption);
if ($expectedFileSize === false) { // sanity check
throw new Exception("Trying to continue a download that never started?! That's not supposed to happen...");
}