Skip to content

Commit 6822b16

Browse files
committed
fix: résout les conflits de fusion dans Init.lua, PluginInfoDialogSections.lua et PublishTask.lua
1 parent aa4b14c commit 6822b16

3 files changed

Lines changed: 0 additions & 25 deletions

File tree

piwigoPublish.lrplugin/Init.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ else
7373
end
7474

7575
_G.iconPath = _PLUGIN:resourceId("icons/icon_med.png")
76-
<<<<<<< HEAD
7776

7877
-- Build version string from Info.lua VERSION table
7978
local versionInfo = _PLUGIN.VERSION or { major = 0, minor = 0, revision = 0 }
@@ -92,8 +91,5 @@ LrTasks.startAsyncTask(function()
9291
UpdateChecker.checkForUpdates(true) -- silent = true
9392
end
9493
end)
95-
=======
96-
_G.pluginVersion = "20260122.27"
97-
>>>>>>> main
9894
--_G.LocStrings = utils.loadStrings()
9995

piwigoPublish.lrplugin/PluginInfoDialogSections.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ function PluginInfoDialogSections.sectionsForBottomOfDialog(f, propertyTable)
7777
{
7878
bind_to_object = propertyTable,
7979

80-
<<<<<<< HEAD
8180
title = "Plugin Updates",
8281

8382
f:row {
@@ -116,9 +115,6 @@ function PluginInfoDialogSections.sectionsForBottomOfDialog(f, propertyTable)
116115
bind_to_object = propertyTable,
117116

118117
title = "Piwigo Publisher Plugin Logging",
119-
=======
120-
title = "Piwigo Publisher Plugin Logging and Preferences",
121-
>>>>>>> main
122118

123119
f:row {
124120
f:checkbox {

piwigoPublish.lrplugin/PublishTask.lua

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ function PublishTask.processRenderedPhotos(functionContext, exportContext)
161161

162162
local lrPhoto = rendition.photo
163163
local remoteId = rendition.publishedPhotoId or ""
164-
<<<<<<< HEAD
165164

166165
-- Detect photo already published in this service (multi-album support)
167166
local existingPwImageId = nil
@@ -199,9 +198,6 @@ function PublishTask.processRenderedPhotos(functionContext, exportContext)
199198
end
200199
end
201200

202-
=======
203-
204-
>>>>>>> main
205201
-- Wait for next photo to render.
206202
local success, pathOrMessage = rendition:waitForRender()
207203
-- Check for cancellation again after photo has been rendered.
@@ -431,7 +427,6 @@ function PublishTask.deletePhotosFromPublishedCollection(publishSettings, arrayO
431427
log:info("PublishTask.deletePhotosFromPublishedCollection - dissociating photo " .. thispwImageID .. " from category " .. pwCatID)
432428
callStatus = PiwigoAPI.dissociateImageFromCategory(publishSettings, thispwImageID, pwCatID)
433429
if callStatus.status then
434-
<<<<<<< HEAD
435430
-- Only clear metadata if photo is no longer in any other published collection
436431
-- Check if photo exists in other collections of this service
437432
local publishService = publishedCollection:getService()
@@ -453,18 +448,6 @@ function PublishTask.deletePhotosFromPublishedCollection(publishSettings, arrayO
453448
else
454449
log:info("PublishTask.deletePhotosFromPublishedCollection - photo " .. thispwImageID .. " still in other collections, keeping metadata")
455450
end
456-
=======
457-
local pluginData = {
458-
pwHostURL = "",
459-
albumName = "",
460-
albumUrl = "",
461-
imageUrl = "",
462-
pwUploadDate = "",
463-
pwUploadTime = "",
464-
pwCommentSync = ""
465-
}
466-
PiwigoAPI.storeMetaData(catalog, thisLrPhoto, pluginData)
467-
>>>>>>> main
468451
thisPhotoToUnpublish[4] = true
469452
else
470453
PWStatusManager.setPiwigoBusy(publishService, false)

0 commit comments

Comments
 (0)