From b4bc0a29a571cfabe1b0761c010ceb579fb23a56 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 2 May 2009 19:14:31 +0000 Subject: Change comment style for brevity. --- modules/server_add/helpers/server_add_task.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/server_add/helpers') 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) { -- cgit v1.2.3