Return more data from getAllDomains()

This commit is contained in:
Kijin Sung 2017-02-22 16:45:45 +09:00
parent e5126c7f98
commit b88bedf9fd

View file

@ -47,8 +47,6 @@ class moduleModel extends module
/**
* @brief Get all domains
*
* @return array
*/
function getAllDomains($count = 20, $page = 1)
{
@ -60,7 +58,7 @@ class moduleModel extends module
{
$domain->settings = $domain->settings ? json_decode($domain->settings) : new stdClass;
}
return $output->data;
return $output;
}
/**