From fe569ab1bf4baa44a808a2d6e81bcddc28d61b62 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 13 Jan 2011 15:24:18 +0000 Subject: feature 2108 added: user upload removed from core. It will come back as a "new generation" user upload in the Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/94-database.php | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 install/db/94-database.php (limited to 'install/db/94-database.php') diff --git a/install/db/94-database.php b/install/db/94-database.php new file mode 100644 index 000000000..fbaa5a3cf --- /dev/null +++ b/install/db/94-database.php @@ -0,0 +1,93 @@ +' + ); + +// +// remove all what is related to user upload in the database +// + +// categories.uploadable +pwg_query('ALTER TABLE '.CATEGORIES_TABLE.' DROP COLUMN uploadable;'); + +// waiting +pwg_query('DROP TABLE '.PREFIX_TABLE.'waiting;'); + +// config parameter settings : upload_user_access, upload_link_everytime +$query = ' +DELETE FROM '.PREFIX_TABLE.'config + WHERE param IN (\'upload_user_access\', \'upload_link_everytime\', \'email_admin_on_picture_uploaded\') +;'; +pwg_query($query); + +echo +"\n" +. $upgrade_description +."\n" +; +?> -- cgit v1.2.3