diff options
author | plegall <plg@piwigo.org> | 2010-12-30 16:15:26 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-12-30 16:15:26 +0000 |
commit | 2ca0da39fbf476dd144dba440f94f1ffb045f117 (patch) | |
tree | af7ecd59d8ca0ec2de096561e9b6cb71a392b6cc | |
parent | 71ca43c5d404b0267880b5ef3fc00eeb89261e44 (diff) |
feature 2089: remove some useless commented code, only "not_linked" and
"duplicates" presets are not available in the new Batch Manager.
git-svn-id: http://piwigo.org/svn/trunk@8399 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/batch_manager.php | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php index 3fe4c3ce4..123304a8c 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -193,33 +193,7 @@ $page['cat_elements_id'] = $current_set; // // To element_set_(global|unit).php, we must provide the elements id of the // // managed category in $page['cat_elements_id'] array. // $page['cat_elements_id'] = array(); -// if (is_numeric($_GET['cat'])) -// { -// $page['title'] = -// get_cat_display_name_from_id( -// $_GET['cat'], -// PHPWG_ROOT_PATH.'admin.php?page=cat_modify&cat_id=', -// false -// ); -// -// $query = ' -// SELECT image_id -// FROM '.IMAGE_CATEGORY_TABLE.' -// WHERE category_id = '.$_GET['cat'].' -// ;'; -// $page['cat_elements_id'] = array_from_query($query, 'image_id'); -// } -// else if ('caddie' == $_GET['cat']) -// { -// $page['title'] = l10n('caddie'); -// -// $query = ' -// SELECT element_id -// FROM '.CADDIE_TABLE.' -// WHERE user_id = '.$user['id'].' -// ;'; -// $page['cat_elements_id'] = array_from_query($query, 'element_id'); -// } + // else if ('not_linked' == $_GET['cat']) // { // $page['title'] = l10n('Not linked elements'); @@ -278,20 +252,6 @@ $page['cat_elements_id'] = $current_set; // // $page['cat_elements_id'] = array_from_query($query, 'id'); // } -// elseif ('recent'== $_GET['cat']) -// { -// $page['title'] = l10n('Recent pictures'); -// $query = 'SELECT MAX(date_available) AS date -// FROM '.IMAGES_TABLE; -// $row = pwg_db_fetch_assoc(pwg_query($query)); -// if (!empty($row['date'])) -// { -// $query = 'SELECT id -// FROM '.IMAGES_TABLE.' -// WHERE date_available BETWEEN '.pwg_db_get_recent_period_expression(1, $row['date']).' AND \''.$row['date'].'\''; -// $page['cat_elements_id'] = array_from_query($query, 'id'); -// } -// } // +-----------------------------------------------------------------------+ // | first element to display | |