X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FQueryPage.php;h=5691881f1b169c9940f7e4e4c349120ce8f518e9;hb=41a09896c1fea6edc6716f1882708fbd68358ebe;hp=c5a093df83ac14da0d00de89b90efe9975e486eb;hpb=090f743683f29a97f4204c489f59cbd01a53fb72;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/QueryPage.php b/includes/QueryPage.php index c5a093df83..5691881f1b 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -423,7 +423,7 @@ abstract class QueryPage extends SpecialPage { } public function getCachedTimestamp() { - if ( !is_null( $this->cachedTimestamp ) ) { + if ( is_null( $this->cachedTimestamp ) ) { $dbr = wfGetDB( DB_SLAVE ); $fname = get_class( $this ) . '::getCachedTimestamp'; $this->cachedTimestamp = $dbr->selectField( 'querycache_info', 'qci_timestamp', @@ -597,10 +597,17 @@ abstract class QueryPage extends SpecialPage { } } + /** + * @param $offset + * @return string + */ function openList( $offset ) { return "\n
    \n"; } + /** + * @return string + */ function closeList() { return "
\n"; }