mx object cleanup
This commit is contained in:
parent
2650db54e3
commit
7627546baa
@ -25,12 +25,15 @@ class MXMapInfo {
|
||||
*
|
||||
* @param String $prefix MX URL prefix
|
||||
* @param $mx
|
||||
* @internal param Object $map The MX map data from MXInfoSearcher
|
||||
* @return MXMapInfo
|
||||
*/
|
||||
public function __construct($prefix, $mx) {
|
||||
$this->prefix = $prefix;
|
||||
if ($mx) {
|
||||
|
||||
if (!$mx) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->prefix == 'tm') {
|
||||
$this->dir = 'tracks';
|
||||
$this->id = $mx->TrackID;
|
||||
@ -114,4 +117,3 @@ class MXMapInfo {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user