Announcement

#1 2008-10-16 07:45:25

rub
Former Piwigo Team
Lille
2005-08-26
5019

c13y_upgrade

Is it a will to remove this code:

Code:

    pwg_query($query);    
     $query = '    
 REPLACE INTO '.PLUGINS_TABLE.'    
   (id, state)    
   VALUES (\'c13y_upgrade\', \'active\')    
 ;';    
     pwg_query($query);

in [Subversion] r2754 ?

If yes, I would like to have discussed about it in the forum or at least that we remove it before 2.0.0 release candidates. It would have avoided questions from users and answers from me.

If we really remove it, no problem but we don't do only a half of it.

Last edited by z0rglub (2008-10-16 20:43:11)

Offline

 

#2 2008-10-16 22:54:47

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: c13y_upgrade

It's not a will. I've removed it because I had not a precise idea of what it was (there was no comment in the code). Can you give me more details please?

Offline

 

Notice: Undefined offset: 11763 in /var/www/piwigo.org/forum/include/parser.php on line 459

#3 2008-10-17 07:55:04

rub
Former Piwigo Team
Lille
2005-08-26
5019

Re: c13y_upgrade

[Forum, topic 11763]

At moment, c13y_upgrade check double email on user list and obsolete plugins (plugins integrated on core pwg).

But, this checks can be move to core pwg check list (exif test, status user,...) (check done on admin main page).

This plugin is activated only between upgrades.

Offline

 

#4 2008-10-20 07:44:11

rub
Former Piwigo Team
Lille
2005-08-26
5019

Re: c13y_upgrade

So, what we do?

I reintroduce c13y_upgrade to upgrade.php?
Or I introduce c13y_upgrade checks on core c13y checks?

Offline

 

#5 2008-10-22 07:16:23

rub
Former Piwigo Team
Lille
2005-08-26
5019

Re: c13y_upgrade

up?

Offline

 

#6 2008-10-22 22:30:24

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: c13y_upgrade

rub wrote:

I reintroduce c13y_upgrade to upgrade.php?

Yes please, and add an explicit comment in the code about why you activate this plugin at this moment precisely.

Of course, I think you can coordinate with P@t about plugins activation/deactivation to avoid c13y_upgrade being deactivated right after your activation :-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact