From 0694c5aa9067f43a9e456855895b235101f6da6d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 11 Aug 2009 06:02:06 +0000 Subject: [PATCH] (bug 20170) Make QuickTemplate::execute() abstract, instead of sending a dorky PHP 4-style error message to the user. --- includes/SkinTemplate.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 0a4fb4e675..c91c580abc 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1041,7 +1041,7 @@ class SkinTemplate extends Skin { * compatible with what we use of PHPTAL 0.7. * @ingroup Skins */ -class QuickTemplate { +abstract class QuickTemplate { /** * Constructor */ @@ -1078,9 +1078,7 @@ class QuickTemplate { * Main function, used by classes that subclass QuickTemplate * to show the actual HTML output */ - public function execute() { - echo 'Override this function.'; - } + abstract public function execute(); /** * @private -- 2.20.1