public function __construct($type)
{
parent::$hours = 12;
$this->type = $type;
$this->response = $this->get_transient();
$this->load_hooks();
if (!isset(self::$options['bitbucket_username'])) {
self::$options['bitbucket_username'] = null;
}
if (!isset(self::$options['bitbucket_password'])) {
self::$options['bitbucket_password'] = null;
}
add_site_option('github_updater', self::$options);
}