diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2011-04-30 05:46:23 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2011-04-30 05:46:23 +0400 |
commit | 41c462c4b4e4b2ca46753345bb9dc72dde779d58 (patch) | |
tree | 2c8928962fd073dc63503c238f966a3e4ecb7a34 | |
parent | c85f8ebf127731013a0ec2058d89e36f26fc35ef (diff) |
Prevent Base table or view not found: 1146 Table 'piwik_pdf' doesn't exist
when PDF plugin wasnt enabled/installed
-rw-r--r-- | core/Updates/1.4-rc1.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Updates/1.4-rc1.php b/core/Updates/1.4-rc1.php index a0cf8b5ede..02150491ae 100644 --- a/core/Updates/1.4-rc1.php +++ b/core/Updates/1.4-rc1.php @@ -27,6 +27,9 @@ class Piwik_Updates_1_4_rc1 extends Piwik_Updates static function update() { - Piwik_Updater::updateDatabase(__FILE__, self::getSql()); + try { + Piwik_Updater::updateDatabase(__FILE__, self::getSql()); + } + catch(Exception $e){} } } |