summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_task.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-26 09:58:57 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-26 09:58:57 -0800
commitf28b80fcf43e02ca65f419eb6774321dc30a2a37 (patch)
tree34d3e44e5716751f71d10de623228bd541b487ae /modules/gallery/helpers/gallery_task.php
parent9f810150532a2511bfc5f03c9d24fd592d2f803f (diff)
parentb4922f4d176662976c9d2b249edf0e50a0cdfdf1 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/gallery_task.php')
-rw-r--r--modules/gallery/helpers/gallery_task.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_task.php b/modules/gallery/helpers/gallery_task.php
index 3e6278e5..617f7f48 100644
--- a/modules/gallery/helpers/gallery_task.php
+++ b/modules/gallery/helpers/gallery_task.php
@@ -201,6 +201,8 @@ class gallery_task_Core {
$total = $num_fetched + $num_remaining;
$task->percent_complete = 70 + 30 * ((float) $num_fetched / $total);
} else {
+ Gallery_I18n::clear_cache();
+
$task->done = true;
$task->state = "success";
$task->status = t("Translations installed/updated");