Want more features on Pastebin? Sign Up, it's FREE!
Guest

Cobi

By: a guest on Aug 18th, 2010  |  syntax: Diff  |  size: 0.44 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: phase3/includes/Article.php
  2. ===================================================================
  3. --- phase3/includes/Article.php (revision 71282)
  4. +++ phase3/includes/Article.php (working copy)
  5. @@ -3476,6 +3476,9 @@
  6.                         $revId = false;
  7.                 }
  8.  
  9. +               if( !$status->isOK() )
  10. +                       return array( array( 'cantrollback' ) );
  11. +
  12.                 wfRunHooks( 'ArticleRollbackComplete', array( $this, $wgUser, $target, $current ) );
  13.  
  14.                 $resultDetails = array(
clone this paste RAW Paste Data