diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-01 06:11:11 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-01 06:11:11 +0400 |
commit | 45734beee66848ae12a1518a0e0979bea64a9a48 (patch) | |
tree | 527d5fa15e3eb534a060666826938e868446d467 /plugins/CorePluginsAdmin/PluginInstaller.php | |
parent | d6533762daa330394f82f414d21682a5ba217ba3 (diff) |
Fixing minor issues
Diffstat (limited to 'plugins/CorePluginsAdmin/PluginInstaller.php')
-rw-r--r-- | plugins/CorePluginsAdmin/PluginInstaller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CorePluginsAdmin/PluginInstaller.php b/plugins/CorePluginsAdmin/PluginInstaller.php index 5f634f048e..d284ff75c8 100644 --- a/plugins/CorePluginsAdmin/PluginInstaller.php +++ b/plugins/CorePluginsAdmin/PluginInstaller.php @@ -110,7 +110,7 @@ class PluginInstaller $this->removeFolderIfExists($pathExtracted); if (0 == ($pluginFiles = $archive->extract($pathExtracted))) { - throw new PluginInstallerException(Piwik_TranslateException('Plugin_ExceptionArchiveIncompatible', $archive->errorInfo())); + throw new PluginInstallerException(Piwik_TranslateException('CoreUpdater_ExceptionArchiveIncompatible', $archive->errorInfo())); } if (0 == count($pluginFiles)) { @@ -179,7 +179,7 @@ class PluginInstaller } if (empty($firstSubFolder)) { - throw new PluginInstallerException('The plugin ZIP file does not contain a subfolder.'); + throw new PluginInstallerException('The plugin ZIP file does not contain a subfolder, but Piwik expects plugin files to be within a subfolder in the Zip archive.'); } return $firstSubFolder; |