Changeset 11257 for branches/2.2/include/functions_comment.inc.php
- Timestamp:
- Jun 7, 2011, 5:56:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/include/functions_comment.inc.php
r10123 r11257 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.