mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 15:05:44 +00:00
FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4
This commit is contained in:
parent
4311de28fd
commit
17604a5b42
@ -36,7 +36,7 @@ class CMSExternalLinksController extends Controller
|
|||||||
// Format status
|
// Format status
|
||||||
$track = BrokenExternalPageTrackStatus::get_latest();
|
$track = BrokenExternalPageTrackStatus::get_latest();
|
||||||
if ($track) {
|
if ($track) {
|
||||||
return Convert::array2json([
|
return json_encode([
|
||||||
'TrackID' => $track->ID,
|
'TrackID' => $track->ID,
|
||||||
'Status' => $track->Status,
|
'Status' => $track->Status,
|
||||||
'Completed' => $track->getCompletedPages(),
|
'Completed' => $track->getCompletedPages(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user