[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Display Tiki version in git_detail module when not a Git install

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6931f47ecad08_2a17c64027523@gitlab-sidekiq-low-urgency-cpu-bound-v2-698d467769-5slnz.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
9382452a by Sandeep D at 2025-12-04T20:44:19+00:00
[FIX] Display Tiki version in git_detail module when not a Git install
---
* [FIX] Display Tiki version in git_detail module when not a Git install

See merge request tikiwiki/tiki!9180

- - - - -


1 changed file:

- modules/mod-func-git_detail.php


Changes:

=====================================
modules/mod-func-git_detail.php
=====================================
@@ -32,12 +32,6 @@ function module_git_detail($mod_reference, $module_params)
     /** @var GitLib $gitlib */
     $gitlib = TikiLib::lib('git');
 
-    if (! $gitlib->isGitInstall()) {
-        $smarty->assign('error', tra('Not a Git installation'));
-        $smarty->assign('content', []);
-        return;
-    }
-
     $result = $gitlib->getGitDetails();
 
     $smarty->assign('error', $result['error']);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9382452af01ea73c08f8c732639da4491488e9b5

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9382452af01ea73c08f8c732639da4491488e9b5
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.