protected function getDefaultUserID()
{
try {
// fetch default user id
return (int) $this->getDB()->getVar('SELECT id
FROM users
WHERE is_god = ? AND active = ? AND deleted = ?
ORDER BY id ASC', array('Y', 'Y', 'N'));
} catch (\Exception $e) {
return 1;
}
}