From 2b3f8e5d8f423bfeb9575efce772bcd8e953788c Mon Sep 17 00:00:00 2001 From: Mark Hamstra Date: Wed, 28 Nov 2018 22:00:44 +0100 Subject: [PATCH] Make the flat file processor deprecated message more useful for pinpointing the source --- core/model/modx/modprocessor.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/model/modx/modprocessor.class.php b/core/model/modx/modprocessor.class.php index a90dfb28f2a..64d8aacd582 100644 --- a/core/model/modx/modprocessor.class.php +++ b/core/model/modx/modprocessor.class.php @@ -353,7 +353,8 @@ class modDeprecatedProcessor extends modProcessor { * @return mixed */ public function process() { - $this->modx->deprecated('2.7.0', '', 'Flat file processor support'); + $info = 'Flat file processor support, used for action ' . $this->getProperty('action', 'unknown action') . ' with path ' . $this->path . ','; + $this->modx->deprecated('2.7.0', '', $info); $modx =& $this->modx; $scriptProperties = $this->getProperties();