r42434 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42433‎ | r42434 | r42435 >
Date:00:00, 24 October 2008
Author:tparscal
Status:old
Tags:
Comment:
Added token setting on ajax save.
Modified paths:
  • /trunk/extensions/Drafts/Drafts.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Drafts/Drafts.hooks.php
@@ -232,6 +232,7 @@
233233 $draft = Draft::newFromID( $id );
234234
235235 // Load draft with info
 236+ $draft->setToken( $dtoken );
236237 $draft->setTitle( Title::newFromText( $title ) );
237238 $draft->setSection( $section == '' ? null : $section );
238239 $draft->setStartTime( $starttime );

Status & tagging log