Skip to content
This repository
Browse code

BUGFIX Fixed limiting of URLs on RebuildStaticCacheTask

  • Loading branch information...
commit 8dae8a307615a90c1e1a5e0a25707f9367367277 1 parent 23eeb99
Ingo Schommer authored February 05, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tasks/RebuildStaticCacheTask.php
2  tasks/RebuildStaticCacheTask.php
@@ -87,7 +87,7 @@ public function rebuildCache($urls, $removeAll = true) {
87 87
 		$count = isset($_GET['count']) ? $_GET['count'] : sizeof($urls);
88 88
 		if(($start + $count) > sizeof($urls)) $count = sizeof($urls) - $start;
89 89
 
90  
-		$urls = array_slice($urls, $start, $count);
  90
+		$mappedUrls = array_slice($mappedUrls, $start, $count);
91 91
 
92 92
 		if($removeAll && !isset($_GET['urls']) && $start == 0 && file_exists("../cache")) {
93 93
 			echo "Removing stale cache files... \n";

0 notes on commit 8dae8a3

Please sign in to comment.
Something went wrong with that request. Please try again.