Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -708,7 +708,7 @@ |
709 | 709 | * Useful for quickly pinging to see if a revision is flagged |
710 | 710 | */ |
711 | 711 | public static function revIsFlagged( $title, $rev_id, $flags=0 ) { |
712 | | - $quality = self::getRevQuality( $title, $rev_id, $flags=0 ); |
| 712 | + $quality = self::getRevQuality( $title, $rev_id, $flags ); |
713 | 713 | return ($quality !== false); |
714 | 714 | } |
715 | 715 | |
— | — | @@ -1874,7 +1874,7 @@ |
1875 | 1875 | */ |
1876 | 1876 | public static function revSubmitted( $title, $rev ) { |
1877 | 1877 | global $wgRequest, $wgUser; |
1878 | | - if( !$wgRequest->wasPosted() || !$wgRequest->getVal('wpSave') || $wgRequest->getVal('title') !== $title->getPrefixedDBkey() ) { |
| 1878 | + if( !$wgRequest->wasPosted() || $wgRequest->getVal('title') !== $title->getPrefixedDBkey() ) { |
1879 | 1879 | return false; |
1880 | 1880 | } |
1881 | 1881 | # Must be by this user |