Merge "Remove workaround for PHP bug 66021 (PHP < 5.5.12)"
[lhc/web/wiklou.git] / maintenance / generateSitemap.php
index 5a2c6c7..e2dc9b8 100644 (file)
@@ -177,7 +177,7 @@ class GenerateSitemap extends Maintenance {
        public function execute() {
                $this->setNamespacePriorities();
                $this->url_limit = 50000;
-               $this->size_limit = pow( 2, 20 ) * 10;
+               $this->size_limit = ( 2 ** 20 ) * 10;
 
                # Create directory if needed
                $fspath = $this->getOption( 'fspath', getcwd() );