From b05d623fe74bb3366ff0229941918ab7f1e08c0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 9 Nov 2011 01:51:30 +0000 Subject: [PATCH] Some minor improvements --- inc/classes/main/helper/web/links/class_WebLinkHelper.php | 2 +- inc/classes/main/result/class_DatabaseResult.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/helper/web/links/class_WebLinkHelper.php b/inc/classes/main/helper/web/links/class_WebLinkHelper.php index 8ff8e54c..4ea1819b 100644 --- a/inc/classes/main/helper/web/links/class_WebLinkHelper.php +++ b/inc/classes/main/helper/web/links/class_WebLinkHelper.php @@ -92,7 +92,7 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate { // Is the deprecated parameter set? if (!is_null($linkBase)) { // Then output a deprecation message - $helperInstance->deprecationWarning(__METHOD__ . ': linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . ' in your config.php file.'); + $helperInstance->deprecationWarning('[' . __METHOD__ . ':' . __LINE__ . ']: linkBase is deprecated. Please remove it from your templates and add a config entry ' . $configEntry . ' in your config.php file.'); } // END - if // Determine link base from config now and 'page' request diff --git a/inc/classes/main/result/class_DatabaseResult.php b/inc/classes/main/result/class_DatabaseResult.php index 69c23ff6..0fab649c 100644 --- a/inc/classes/main/result/class_DatabaseResult.php +++ b/inc/classes/main/result/class_DatabaseResult.php @@ -229,7 +229,7 @@ class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, Up * @todo 0% done */ public function searchEntry (LocalSearchCriteria $criteriaInstance) { - $this->debugBackTrace(__METHOD__ . ': Unfinished!'); + $this->debugBackTrace('[' . '[' . __METHOD__ . ':' . __LINE__ . ']: Unfinished!'); } /** -- 2.39.5