r92757 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92756
|
r92757
|
r92758
>
Date:
17:34, 21 July 2011
Author:
werdna
Status:
deferred
Tags:
Comment:
MoodBar: Make dependency on EditPageTracking optional
Modified paths:
/trunk/extensions/MoodBar/MoodBar.hooks.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/MoodBar/MoodBar.hooks.php
—
—
@@ -38,9 +38,11 @@
39
39
return false;
40
40
}
41
41
42
- return ((bool)EditPageTracking::getFirstEditPage($user));
42
+ if ( MWInit::classExists('EditPageTracking') ) {
43
+ return ((bool)EditPageTracking::getFirstEditPage($user));
44
+ }
43
45
44
- return false;
46
+ return true;
45
47
}
46
48
47
49
/**
Status & tagging log
00:20, 14 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r92757
[
removed:
old
added:
deferred]
23:19, 5 August 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r92757
[
removed:
new
added:
old]