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-16 05:07:55 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-16 05:07:55 +0400
commitf3a78c3a54a92235f23e2b40138e10b5c386abce (patch)
treeef30ca919f01ee23d1a74de3c6ebf43d9f0ea6fd /core/Updater.php
parentb0b8081d937f0504efc00b2baa709121d71591e2 (diff)
Adding 2.0-a17 update file to delete old plugin folders
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Updater.php b/core/Updater.php
index 1ccdb78e18..a058eb03c1 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -152,7 +152,7 @@ class Updater
* Update the named component
*
* @param string $componentName 'core', or plugin name
- * @throws \Exception|Updater_UpdateErrorException
+ * @throws \Exception|UpdaterErrorException
* @return array of warning strings if applicable
*/
public function update($componentName)
@@ -169,7 +169,7 @@ class Updater
}
self::recordComponentSuccessfullyUpdated($componentName, $fileVersion);
- } catch (Updater_UpdateErrorException $e) {
+ } catch (UpdaterErrorException $e) {
throw $e;
} catch (\Exception $e) {
$warningMessages[] = $e->getMessage();
@@ -286,7 +286,7 @@ class Updater
*
* @param string $file Update script filename
* @param array $sqlarray An array of SQL queries to be executed
- * @throws Updater_UpdateErrorException
+ * @throws UpdaterErrorException
*/
static function updateDatabase($file, $sqlarray)
{
@@ -298,7 +298,7 @@ class Updater
|| !Db::get()->isErrNo($e, $ignoreError)
) {
$message = $file . ":\nError trying to execute the query '" . $update . "'.\nThe error was: " . $e->getMessage();
- throw new Updater_UpdateErrorException($message);
+ throw new UpdaterErrorException($message);
}
}
}
@@ -311,6 +311,6 @@ class Updater
* @package Piwik
* @subpackage Updater
*/
-class Updater_UpdateErrorException extends \Exception
+class UpdaterErrorException extends \Exception
{
}