Changeset 11253 for trunk/include/functions_comment.inc.php
- Timestamp:
- Jun 6, 2011, 9:59:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_comment.inc.php
r10122 r11253 246 246 $comment_action='reject'; 247 247 } 248 elseif (!$conf['comments_validation'] or is_admin()) // should the updated comment must be validated 249 { 250 $comment_action='validate'; //one of validate, moderate, reject 251 } 252 else 253 { 254 $comment_action='moderate'; //one of validate, moderate, reject 255 } 248 256 249 257 // perform more spam check … … 263 271 $user_where_clause = ' AND author_id = \''. 264 272 $GLOBALS['user']['id'].'\''; 265 }266 267 // should the updated comment must be validated268 if (!$conf['comments_validation'] or is_admin())269 {270 $comment_action='validate'; //one of validate, moderate, reject271 }272 else273 {274 $comment_action='moderate'; //one of validate, moderate, reject275 273 } 276 274
Note: See TracChangeset
for help on using the changeset viewer.