Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6600
lqt_rollback.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:01 PM
2014-11-21 23:01:53 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
lqt_rollback.patch
View Options
diff -ur LiquidThreads-broken//classes/Dispatch.php LiquidThreads/classes/Dispatch.php
--- LiquidThreads-broken//classes/Dispatch.php 2010-09-06 16:02:22.000000000 +0200
+++ LiquidThreads/classes/Dispatch.php 2010-11-04 00:57:11.347522008 +0100
@@ -73,7 +73,7 @@
$viewname = 'ThreadHistoricalRevisionView';
} else if ( $action == 'watch' || $action == 'unwatch' ) {
$viewname = 'ThreadWatchView';
- } elseif ( $action == 'delete' ) {
+ } elseif ( $action == 'delete' || $action = 'rollback' || $action = 'markpatrolled' ) {
return true;
} else {
$viewname = 'ThreadPermalinkView';
diff -ur LiquidThreads-broken//classes/Hooks.php LiquidThreads/classes/Hooks.php
--- LiquidThreads-broken//classes/Hooks.php 2010-10-27 15:00:46.000000000 +0200
+++ LiquidThreads/classes/Hooks.php 2010-11-04 01:13:37.997522003 +0100
@@ -445,16 +445,13 @@
return true;
}
- LqtView::postEditUpdates(
- 'editExisting',
- null,
- $article,
- $thread->article(),
- $thread->article(),
- $summary,
- $thread,
- $text
- );
+ LqtView::editMetadataUpdates(
+ array(
+ 'root' => $article,
+ 'thread' => $thread,
+ 'summary' => $summary,
+ 'text' => $text,
+ ) );
return true;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6140
Default Alt Text
lqt_rollback.patch (1 KB)
Attached To
Mode
T25716: Rollback and mark as patrolled doesn't work
Attached
Detach File
Event Timeline
Log In to Comment