Disable debugging

This commit is contained in:
kekePower committed 2024-02-03 08:41:45 +01:00
1 parent c1f021c883
commit db94ae02b8
1 file changed
+6 -6
+6 -6
View File
@@ -281,10 +281,10 @@ function _pages_cache() {
function _last_updated() {
# This function updates #updated and #version tags in the provided string for buffers
local debug=true
local debug=false
if (${debug}) _msg debug "_last_updated: Setting date and version in footer"
if (${debug}) _msg debug "_last_updated: ${upd_msg}"
if (${debug}); then _msg debug "_last_updated: Setting date and version in footer"; fi
if (${debug}); then _msg debug "_last_updated: ${upd_msg}"; fi
local upd_msg="Last updated ${today} by <a href=\"https://blog.kekepower.com/qsgen2.html\">${QSGEN} ${VERSION}</a>"
@@ -301,10 +301,10 @@ function _last_updated() {
function _f_last_updated() {
# This function updates #updated and #version tags in the provided string in files
local debug=true
local debug=false
if (${debug}) _msg debug "_f_last_updated: Setting date and version in footer of file ${1}"
if (${debug}) _msg debug "_f_last_updated: ${upd_msg}"
if (${debug}); then _msg debug "_f_last_updated: Setting date and version in footer of file ${1}"; fi
if (${debug}); then _msg debug "_f_last_updated: ${upd_msg}"; fi
local upd_msg="Last updated ${today} by <a href=\"https://blog.kekepower.com/qsgen2.html\">${QSGEN} ${VERSION}</a>"