aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-08-24 22:22:29 +0000
committerplegall <plg@piwigo.org>2005-08-24 22:22:29 +0000
commit429dd2ff626119727103297cd33b3c9a3b921d89 (patch)
tree5059b7d2bcc7bc849f65c6cb569e13900f0ab01c /picture.php
parentb08df0468873fa5e6f69a0737d3557bd1de0daa1 (diff)
- deletion : no mail notification anymore. Feature replaced by RSS feed
notification. - improvement : on waiting pictures management. Ability to validate all or reject all in one clic. - regrouped fields in admin/update git-svn-id: http://piwigo.org/svn/trunk@849 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/picture.php b/picture.php
index ce69fb3a7..94a981d26 100644
--- a/picture.php
+++ b/picture.php
@@ -387,22 +387,6 @@ if ( isset( $_POST['content'] ) && !empty($_POST['content']) )
}
$template->assign_block_vars('information',
array('INFORMATION'=>$message));
- // notification to the administrators
- if ( $conf['mail_notification'] )
- {
- // find any related category (can be unreachable to this admin)
- $category = $related_categories[0];
- // locally, we change the $conf['level_separator']
- $conf_separator = $conf['level_separator'];
- $conf['level_separator'] = ' > ';
- $cat_name = get_cat_display_name_cache($category['uppercats'],
- '',
- false);
- $conf['level_separator'] = $conf_separator;
-
- $cat_name = strip_tags( $cat_name );
- notify( 'comment', $cat_name.' > '.$picture['current']['name']);
- }
}
else
{