Skip to content

Commit

Permalink
Remove old source
Browse files Browse the repository at this point in the history
  • Loading branch information
bueltge committed Apr 10, 2017
1 parent 15def81 commit c4efe3d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions debug-objects.php
Expand Up @@ -312,13 +312,6 @@ public function set_cookie_control() {
}

try {

/*
$cookie_live = new DateTime( 'now' );
$user_value = (int) $_GET[ 'debugcookie' ]; // Input var okay.
$cookie_live->add( new DateInterval( 'P' . $user_value . 'D' ) );
*/

$dateintval = new \DateInterval( 'P' . $user_value . 'D' );
if ( 0 !== $dateintval->format( 'd' ) ) {
$cookie_live = new \DateTime( 'now' );
Expand Down

0 comments on commit c4efe3d

Please sign in to comment.