diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-02-06 19:47:49 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-02-06 19:48:52 -0800 |
commit | 065dd32f3168edc06ca235301c728ede8db849e6 (patch) | |
tree | 5c771155c977aefb08b2a427a6c76f30ebe87333 /modules/gallery/helpers/gallery_task.php | |
parent | 1bbaafcc1fc1c4997860706219a628343694e44b (diff) |
Add tags for all Cache::instance()->set calls that don't have one.
Fixes #1818.
Diffstat (limited to 'modules/gallery/helpers/gallery_task.php')
-rw-r--r-- | modules/gallery/helpers/gallery_task.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_task.php b/modules/gallery/helpers/gallery_task.php index 4a97d865..4b477540 100644 --- a/modules/gallery/helpers/gallery_task.php +++ b/modules/gallery/helpers/gallery_task.php @@ -243,7 +243,8 @@ class gallery_task_Core { if (!$task->done) { Cache::instance()->set("update_l10n_cache:{$task->id}", - serialize(array($dirs, $files, $cache, $num_fetched))); + serialize(array($dirs, $files, $cache, $num_fetched)), + array("l10n")); } else { Cache::instance()->delete("update_l10n_cache:{$task->id}"); } @@ -293,7 +294,8 @@ class gallery_task_Core { $task->set("mode", "delete_files"); $task->set("current", 0); $task->set("total", count($files)); - Cache::instance()->set("file_cleanup_cache:{$task->id}", serialize($files)); + Cache::instance()->set("file_cleanup_cache:{$task->id}", serialize($files), + array("file_cleanup")); if (count($files) == 0) { break; } |