mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 09:10:59 +00:00
Use expression builder instead of addQuotes()
Bug: T350992 Change-Id: Ide2edebf979a21628aa5832d6ac8774fc55310f6
This commit is contained in:
parent
89545d2b53
commit
d23e912884
|
@ -582,7 +582,7 @@ class Hooks implements
|
||||||
->field( '1' )
|
->field( '1' )
|
||||||
->where( [
|
->where( [
|
||||||
'rev_actor' => $user->getActorId(),
|
'rev_actor' => $user->getActorId(),
|
||||||
'rev_timestamp < ' . $dbr->addQuotes( $dbr->timestamp(
|
$dbr->expr( 'rev_timestamp', '<', $dbr->timestamp(
|
||||||
$config->get( 'VisualEditorSingleEditTabSwitchTime' )
|
$config->get( 'VisualEditorSingleEditTabSwitchTime' )
|
||||||
) )
|
) )
|
||||||
] )
|
] )
|
||||||
|
|
Loading…
Reference in a new issue