summaryrefslogtreecommitdiff
path: root/modules/server_add/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-02 19:14:31 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-02 19:14:31 +0000
commitb4bc0a29a571cfabe1b0761c010ceb579fb23a56 (patch)
tree2ce588875265671961968b620a38e03c2ce4b543 /modules/server_add/helpers
parent54fa2391d007e81812b575afd7e930983c4611b5 (diff)
Change comment style for brevity.
Diffstat (limited to 'modules/server_add/helpers')
-rw-r--r--modules/server_add/helpers/server_add_task.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/server_add/helpers/server_add_task.php b/modules/server_add/helpers/server_add_task.php
index 96c34854..3ed770e8 100644
--- a/modules/server_add/helpers/server_add_task.php
+++ b/modules/server_add/helpers/server_add_task.php
@@ -45,10 +45,8 @@ class server_add_task_Core {
if (!$album->loaded) {
$album = album::create($parent, $name, $name, null, user::active()->id);
}
- /*
- * Now that we have a new album. Go through the remaining files to import and change the
- * parent_id of any file that has the same relative path as this album's path.
- */
+ // Now that we have a new album. Go through the remaining files to import and change the
+ // parent_id of any file that has the same relative path as this album's path.
$album_path = "{$file['path']}/$name";
for ($idx = $context["position"] + 1; $idx < count($context["files"][$path]); $idx++) {
if (strpos($context["files"][$path][$idx]["path"], $album_path) === 0) {