aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-01-18 14:03:00 +0000
committerplegall <plg@piwigo.org>2011-01-18 14:03:00 +0000
commit69ce2185750112d6b151459e0c50fdf792b5f933 (patch)
tree5e5b07bbd9222b419a4e409967324dee1d9cc069 /admin/include/functions.php
parent447bc41f71ebbb9f77c33ece19883d49c2fb2aa9 (diff)
bug fixed: no more categories.uploadable column when creating a new category
split the admin/photos_add_direct.php script into admin/include/photos_add_direct_prepare.php (prepare the upload form) + admin/include/photos_add_direct_process.inc.php (process the submitted form) : it makes the upload form backend easier to reuse in the future Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r--admin/include/functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 0711fd5f1..6ad6bc7fe 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1225,7 +1225,6 @@ SELECT MAX(rank)
'name' => $category_name,
'rank' => ++$current_rank,
'commentable' => boolean_to_string($conf['newcat_default_commentable']),
- 'uploadable' => 'false',
);
if ($parent_id != 'NULL')
@@ -1276,7 +1275,7 @@ SELECT id, uppercats, global_rank, visible, status
CATEGORIES_TABLE,
array(
'site_id', 'name', 'id_uppercat', 'rank', 'commentable',
- 'uploadable', 'visible', 'status', 'global_rank',
+ 'visible', 'status', 'global_rank',
),
array($insert)
);
@@ -1984,7 +1983,6 @@ function get_active_menu($menu_page)
switch ($menu_page)
{
case 'photos_add':
- case 'upload':
case 'rating':
case 'tags':
case 'picture_modify':