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:
4788731
)
Fix for profiling.
author
Rotem Liss
<rotem@users.mediawiki.org>
Wed, 23 Aug 2006 11:41:30 +0000
(11:41 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Wed, 23 Aug 2006 11:41:30 +0000
(11:41 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
8fbc28a
..
6f740dc
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1075,6
+1075,7
@@
class Title {
if( $action == 'create' ) {
if( ( $this->isTalkPage() && !$wgUser->isAllowed( 'createtalk' ) ) ||
( !$this->isTalkPage() && !$wgUser->isAllowed( 'createpage' ) ) ) {
+ wfProfileOut( $fname );
return false;
}
}