Index: trunk/extensions/EditPageTracking/EditPageTracking.php |
— | — | @@ -46,10 +46,6 @@ |
47 | 47 | return true; |
48 | 48 | } |
49 | 49 | |
50 | | - if ( EditPageTracking::getFirstEditPage( $wgUser ) ) { |
51 | | - // Already stored. |
52 | | - return true; |
53 | | - } |
54 | 50 | global $wgEditPageTrackingRegistrationCutoff; |
55 | 51 | |
56 | 52 | if ( $wgEditPageTrackingRegistrationCutoff && |
— | — | @@ -59,6 +55,11 @@ |
60 | 56 | return true; |
61 | 57 | } |
62 | 58 | |
| 59 | + if ( EditPageTracking::getFirstEditPage( $wgUser ) ) { |
| 60 | + // Already stored. |
| 61 | + return true; |
| 62 | + } |
| 63 | + |
63 | 64 | // Record it |
64 | 65 | $dbw = wfGetDB( DB_MASTER ); |
65 | 66 | |