Sonar fixes.
This commit is contained in:
parent
3666f491bd
commit
5db46c220c
5 changed files with 13 additions and 6 deletions
|
@ -67,5 +67,3 @@ class CustomCDN
|
|||
$this->public = false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -229,4 +229,4 @@ class DJ
|
|||
{
|
||||
return $this->mixes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,8 +97,12 @@ class Mix
|
|||
if ($this->loadDJs) {
|
||||
require_once 'DJ.php';
|
||||
$this->djs[] = new DJ($mix['dj1'], $this->db);
|
||||
if ($mix['dj2'] != null) $this->djs[] = new DJ($mix['dj2'], $this->db);
|
||||
if ($mix['dj3'] != null) $this->djs[] = new DJ($mix['dj3'], $this->db);
|
||||
if ($mix['dj2'] != null) {
|
||||
$this->djs[] = new DJ($mix['dj2'], $this->db);
|
||||
}
|
||||
if ($mix['dj3'] != null) {
|
||||
$this->djs[] = new DJ($mix['dj3'], $this->db);
|
||||
}
|
||||
|
||||
$this->djs = array_filter($this->djs);
|
||||
}
|
||||
|
|
|
@ -5,4 +5,4 @@ require_once 'vendor/autoload.php';
|
|||
Class S3 extends Aws\S3\S3Client{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue