]> git.koha-community.org Git - koha.git/commit
Bug 25131: Add C4::Context->needs_install
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Apr 2020 19:21:37 +0000 (16:21 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Apr 2020 18:20:57 +0000 (19:20 +0100)
commit2633bed5c4f5e07db0e69719c4750f03e6151782
treec6c0aea06ca413db5fdb24af18156f7c5079bcd2
parent48188a1065b11a4e83e67d5b2e08c45552b80f1e
Bug 25131: Add C4::Context->needs_install

This trivial patch adds a new convenient way to ask if Koha is
installed. It uses the same approach as C4::Auth:730

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ t/Context.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Context.pm
t/Context.t