diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 07:17:28 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 07:17:28 +0400 |
commit | 6d46df58dd4b16a5c8402e34ed018439cbbadee1 (patch) | |
tree | efaeabfe94ab8a601a96c80e1333ae83513f803e /core/Http.php | |
parent | 9fb5490490913717ccfacec6f597181091be214f (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.php | 4 |
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..."); } |