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>2014-04-05 04:51:14 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-05 04:51:14 +0400
commit4ee66b2bb84c8f23beeb7b2ae22db96a1c6d11db (patch)
tree88f972feb62b83ec4bf9a19faaf2fefc88c1370d /core/Filechecks.php
parent4d0ea797ad97f6c9070a3005a2977bd8f9141065 (diff)
Fix bug where file integrity message was not displayed.
Diffstat (limited to 'core/Filechecks.php')
-rw-r--r--core/Filechecks.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/Filechecks.php b/core/Filechecks.php
index 7a82db5b2b..52cb995bad 100644
--- a/core/Filechecks.php
+++ b/core/Filechecks.php
@@ -116,15 +116,17 @@ class Filechecks
$messages[] = true;
$manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php';
+
+
if (file_exists($manifest)) {
require_once $manifest;
}
if (!class_exists('Piwik\\Manifest')) {
- $git = SettingsPiwik::getCurrentGitBranch();
- if(empty($git)) {
- $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest') . ' ' . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit');
- }
+ $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest')
+ . ' '
+ . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit');
+
return $messages;
}