Stopped using warning suppression.

This commit is contained in:
Andrew Collington 2015-05-11 15:56:17 +01:00
parent 134dbb5060
commit aa41e5ad97

View file

@ -65,7 +65,7 @@ class OpCacheService
} else if (isset($_GET['invalidate']) && $self->getOption('allow_invalidate')) {
echo '{ "success": "' . ($self->resetCache($_GET['invalidate']) ? 'yes' : 'no') . '" }';
} else {
echo json_encode($self->getData(@$_GET['section'] ?: null));
echo json_encode($self->getData((empty($_GET['section']) ? null : $_GET['section'])));
}
exit;
} else if (isset($_GET['reset']) && $self->getOption('allow_invalidate')) {