Changeset 1549
- Timestamp:
- 05/07/2015 07:32:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php
r1186 r1549 378 378 if ( count( $previous_tickets ) >= 5 ) { 379 379 return; 380 } 380 } 381 381 382 382 if ( 1 == count( $previous_tickets ) ) { … … 442 442 } 443 443 if ( empty( $_POST['notifications']['newticket'] ) && ! empty( $notifications['newticket'] ) ) { 444 $this->trac->delete( '_notifications', array( 'username' => $username, 'type' => 'newticket' ) ); 444 $this->trac->delete( '_notifications', array( 'username' => $username, 'type' => 'newticket' ) ); 445 $notifications[ 'newticket' ] = false; 445 446 } elseif ( ! empty( $_POST['notifications']['newticket'] ) && empty( $notifications['newticket'] ) ) { 446 447 $this->trac->insert( '_notifications', array( 'username' => $username, 'type' => 'newticket', 'value' => '1' ) ); 448 $notifications[ 'newticket' ] = true; 447 449 } 448 450 } … … 476 478 width: 25%; 477 479 list-style: none; 478 } 480 } 479 481 .completed-milestone { 480 482 display: none !important;
Note: See TracChangeset
for help on using the changeset viewer.