From a77aafbcbafe6ce95c7d27340f9ce692019ce288 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Mon, 7 Feb 2022 15:08:38 +0200 Subject: [PATCH] Revert "Global: Add ability to configure display of commit hash" I did something strange --- bootstrap.php | 2 +- openvk-example.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index b2bcbec9..70b52244 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -227,7 +227,7 @@ return (function() { if(empty($_SERVER["REQUEST_SCHEME"])) $_SERVER["REQUEST_SCHEME"] = empty($_SERVER["HTTPS"]) ? "HTTP" : "HTTPS"; - $showCommitHash = OPENVK_ROOT_CONF["openvk"]["preferences"]["bellsAndWhistles"]["showCommitHash"] ?? true; + $showCommitHash = true; # plz remove when release if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash) $ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD` ?? "Unknown version") . "-nightly"; else diff --git a/openvk-example.yml b/openvk-example.yml index a3b98d0c..df9c55ef 100644 --- a/openvk-example.yml +++ b/openvk-example.yml @@ -59,7 +59,6 @@ openvk: bellsAndWhistles: fartscroll: false testLabel: false - showCommitHash: true defaultMobileTheme: "" telemetry: