Remove Revision::getRevisionText from ApiQueryDeletedrevs
[lhc/web/wiklou.git] / includes / api / ApiQueryTags.php
index b340b57..f104383 100644 (file)
@@ -1,9 +1,5 @@
 <?php
 /**
- *
- *
- * Created on Jul 9, 2009
- *
  * Copyright © 2009
  *
  * This program is free software; you can redistribute it and/or modify
@@ -89,7 +85,7 @@ class ApiQueryTags extends ApiQueryBase {
                        }
 
                        if ( $fld_hitcount ) {
-                               $tag['hitcount'] = intval( $tagHitcounts[$tagName] );
+                               $tag['hitcount'] = (int)$tagHitcounts[$tagName];
                        }
 
                        $isSoftware = isset( $softwareDefinedTags[$tagName] );