We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06fc387 commit 9aec637Copy full SHA for 9aec637
php/gpMediaWiki.php
@@ -620,8 +620,8 @@ public function retain_smaller( $size ) { #TODO: port to python!
620
return $this->strip_by_size( $size, '>=' );
621
}
622
623
- public function strip_by_creation( $timestamp, $op ) { #TODO: port to python!
624
- $where = 'rev_timestamp ' . $op . ' ' . (int)$timestamp;
+ protected function strip_by_creation( $timestamp, $op ) { #TODO: port to python!
+ $where = 'rev_timestamp ' . $op . ' ' . $this->glue->quote_string($timestamp);
625
626
$join = array(
627
'revision' => array('rev_page' => $this->id_field,
0 commit comments