mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
heavy code cleanup in the webui
This commit is contained in:
@ -3,9 +3,12 @@
|
||||
class ModelDomainDomain extends Model {
|
||||
|
||||
public function getDomains() {
|
||||
|
||||
$query = $this->db->query("SELECT domain, mapped FROM " . TABLE_DOMAIN . " ORDER BY domain ASC");
|
||||
|
||||
return $query->rows;
|
||||
if(isset($query->rows)) { return $query->rows; }
|
||||
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user