[Web] Remove git version

master
André 2018-05-27 09:16:53 +02:00
parent e70c269998
commit f8abb2b1a4
2 changed files with 0 additions and 17 deletions

View File

@ -4,7 +4,6 @@ require_once "inc/prerequisites.inc.php";
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin") { if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == "admin") {
require_once "inc/header.inc.php"; require_once "inc/header.inc.php";
$_SESSION['return_to'] = $_SERVER['REQUEST_URI']; $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
$git_last = array_pop(file('/git_head'));
?> ?>
<div class="container"> <div class="container">
@ -43,21 +42,6 @@ $git_last = array_pop(file('/git_head'));
$vmail_df = explode(',', json_decode(docker('dovecot-mailcow', 'post', 'exec', $exec_fields), true)); $vmail_df = explode(',', json_decode(docker('dovecot-mailcow', 'post', 'exec', $exec_fields), true));
?> ?>
<div role="tabpanel" class="tab-pane active" id="tab-containers"> <div role="tabpanel" class="tab-pane active" id="tab-containers">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Version information</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-3">
<p>Git head</p>
</div>
<div class="col-sm-9">
<a target="_blank" href="https://github.com/mailcow/mailcow-dockerized/commit/<?=explode(' ', $git_last)[1];?>"><?=explode(' ', $git_last)[1];?></a>
</div>
</div>
</div>
</div>
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title">Disk usage</h3> <h3 class="panel-title">Disk usage</h3>

View File

@ -110,7 +110,6 @@ services:
depends_on: depends_on:
- redis-mailcow - redis-mailcow
volumes: volumes:
- ./.git/logs/HEAD:/git_head
- ./data/web:/web:rw - ./data/web:/web:rw
- ./data/conf/rspamd/dynmaps:/dynmaps:ro - ./data/conf/rspamd/dynmaps:/dynmaps:ro
- rspamd-sock:/rspamd-sock - rspamd-sock:/rspamd-sock