dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e6223
)
(bug 20170) Make QuickTemplate::execute() abstract, instead of sending a dorky PHP...
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 11 Aug 2009 06:02:06 +0000
(06:02 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 11 Aug 2009 06:02:06 +0000
(06:02 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
0a4fb4e
..
c91c580
100644
(file)
--- 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