Disable debugging
This commit is contained in:
parent
c1f021c883
commit
db94ae02b8
12
qsgen2
12
qsgen2
@ -281,10 +281,10 @@ function _pages_cache() {
|
|||||||
function _last_updated() {
|
function _last_updated() {
|
||||||
# This function updates #updated and #version tags in the provided string for buffers
|
# 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}); then _msg debug "_last_updated: Setting date and version in footer"; fi
|
||||||
if (${debug}) _msg debug "_last_updated: ${upd_msg}"
|
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>"
|
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() {
|
function _f_last_updated() {
|
||||||
# This function updates #updated and #version tags in the provided string in files
|
# 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}); then _msg debug "_f_last_updated: Setting date and version in footer of file ${1}"; fi
|
||||||
if (${debug}) _msg debug "_f_last_updated: ${upd_msg}"
|
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>"
|
local upd_msg="Last updated ${today} by <a href=\"https://blog.kekepower.com/qsgen2.html\">${QSGEN} ${VERSION}</a>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user