summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_task.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-08-30 22:06:26 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-08-30 22:06:26 -0700
commit866f8eefc66f24f9fcfb9f20bdc0add3a654db76 (patch)
tree11f39ff6251b1c90cc3f03a37fd9ec67243db991 /modules/gallery/helpers/gallery_task.php
parent0f2daf29acc051e7fe79abc625406684e9da8196 (diff)
parentd5ebcb91ad8401df8a393f84ade82150467dbf33 (diff)
Fix for ticket #1320. Hook the loading of the initial albums and check to see if the loaded item is the requested item.
Diffstat (limited to 'modules/gallery/helpers/gallery_task.php')
-rw-r--r--modules/gallery/helpers/gallery_task.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_task.php b/modules/gallery/helpers/gallery_task.php
index 6a1fc28a..0886aad0 100644
--- a/modules/gallery/helpers/gallery_task.php
+++ b/modules/gallery/helpers/gallery_task.php
@@ -58,8 +58,7 @@ class gallery_task_Core {
$tasks[] = Task_Definition::factory()
->callback("gallery_task::fix")
->name(t("Fix your Gallery"))
- ->description(t("Fix a variety of problems that might cause your Gallery to act " .
- "strangely. Requires maintenance mode."))
+ ->description(t("Fix a variety of problems that might cause your Gallery to act strangely. Requires maintenance mode."))
->severity(log::SUCCESS);
return $tasks;