Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-03-11 01:30:25

wernerk
Member
Registered: 2012-01-22
Posts: 30

storage_category_id and physical links

Hi,

I'm back hunting bugs :-)

Can you tell me what the function of the storage_category_id is? Should it be the first category where a photo is uploaded - and dissociating this category should not be possible?

I found the remark:

    // physical links must not be broken, so we must first retrieve image_id
    // which create virtual links with the category to "dissociate from".

I find almost no image in the database with a storage_category_id and I _can_ dissociate them from all categories and so delete them by accident! :-(

And what are physical links? Do they still exist? Or are they the relict of an old version?

Greetings
Werner

Offline

#2 2012-03-11 10:45:08

mistic100
Piwigo Team
Location: Avignon (Fr)
Registered: 2008-09-27
Posts: 1449
Website

Re: storage_category_id and physical links

Hi
storage_category_id is the category ID in case of a manual upload in the "galleries" folder, so with physical categories
if you only use virtual categories, it's always null

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013