shithub: hugo

Download patch

ref: beaa008c2f524aafd416b7a6f53f04a0056dd7c5
parent: be381683ff112e80e72f4d69054218813cd31ecc
author: bep <[email protected]>
date: Tue May 26 19:08:32 EDT 2015

Make deprecated warning for this release more alert

--- a/helpers/general.go
+++ b/helpers/general.go
@@ -191,7 +191,9 @@
 
 // Deprecated logs ERROR logs about a deprecation, but only once for a given set of arguments' values.
 func Deprecated(object, item, alternative string) {
-	deprecatedLogger.Printf("%s's %s is deprecated and will be removed in Hugo %s. Use %s instead.", object, item, NextHugoReleaseVersion(), alternative)
+	//	deprecatedLogger.Printf("%s's %s is deprecated and will be removed in Hugo %s. Use %s instead.", object, item, NextHugoReleaseVersion(), alternative)
+	deprecatedLogger.Printf("%s's %s is deprecated and will be removed VERY SOON. Use %s instead.", object, item, alternative)
+
 }
 
 // SliceToLower goes through the source slice and lowers all values.