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:
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;
}