diff options
author | sgiehl <stefangiehl@gmail.com> | 2012-05-24 01:19:25 +0400 |
---|---|---|
committer | sgiehl <stefangiehl@gmail.com> | 2012-05-24 01:19:25 +0400 |
commit | f419aca5cae09792f879e5570c51da699d658599 (patch) | |
tree | d67c5aa457067a17e031c44309f20292eaaa1d8d /core/Updater.php | |
parent | 145bd36f2bc1183442415ea3f0d2fc42970be207 (diff) |
completed a bunch of php doc blocks
git-svn-id: http://dev.piwik.org/svn/trunk@6300 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r-- | core/Updater.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/Updater.php b/core/Updater.php index b3e088e54e..9629723250 100644 --- a/core/Updater.php +++ b/core/Updater.php @@ -137,11 +137,12 @@ class Piwik_Updater } return 'Piwik_'. $componentName .'_Updates_' . $suffix; } - + /** * Update the named component * * @param string $componentName 'core', or plugin name + * @throws Exception|Piwik_Updater_UpdateErrorException * @return array of warning strings if applicable */ public function update($componentName) @@ -224,10 +225,11 @@ class Piwik_Updater } return $componentsWithUpdateFile; } - + /** * Construct list of outdated components * + * @throws Exception * @return array array( componentName => array( oldVersion, newVersion), [...]) */ public function getComponentsWithNewVersion() @@ -293,6 +295,7 @@ class Piwik_Updater * * @param string $file Update script filename * @param array $sqlarray An array of SQL queries to be executed + * @throws Piwik_Updater_UpdateErrorException */ static function updateDatabase($file, $sqlarray) { |