Dotclear


Ignore:
Timestamp:
09/14/18 12:16:17 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

short notation for array (array() → [])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/class.dc.importblogroll.php

    r3731 r3874  
    3636        $outlines = $xml->xpath("//outline"); 
    3737 
    38         $this->entries = array(); 
     38        $this->entries = []; 
    3939        foreach ($outlines as $outline) { 
    4040            if (isset($outline['htmlUrl'])) { 
     
    6666        $outlines = $xml->xpath("//bookmark"); 
    6767 
    68         $this->entries = array(); 
     68        $this->entries = []; 
    6969        foreach ($outlines as $outline) { 
    7070            if (!isset($outline['href'])) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map